[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / debug1.C
bloba2c1577029b49330e50af5b0844170331dd8783f
1 // PR c++/40274
2 // { dg-options "-g" }
4 template <class T> struct valuelist_types
6  struct null { };
7  template <T V, class next=null> struct list { };
8 };
10 template <unsigned D> void foo()
12  typename valuelist_types<unsigned>::template list<D> v;
15 void bar()
17  valuelist_types<unsigned>::list<2> v;