(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr69481.C
// PR c++/69481
// { dg-do compile { target c++11 } }

// ICE with canonical type verification

template <typename> struct Traits;

template <typename T>
struct Bob {
  using Loc = Traits<T>;
  using typename Loc::Thing;

  Thing Foo (); 
};

template <class V> struct tt
{
  using ut = tt<V>;
  ut Bob ();
};

template <class V>
tt<V> tt<V>::Bob ()
{
  return tt();
}