OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / debug1.C
1 // PR c++/40274
2 // { dg-options "-g" }
3
4 template <class T> struct valuelist_types
5 {
6  struct null { };
7  template <T V, class next=null> struct list { };
8 };
9
10 template <unsigned D> void foo()
11 {
12  typename valuelist_types<unsigned>::template list<D> v;
13 }
14
15 void bar()
16 {
17  valuelist_types<unsigned>::list<2> v;
18 }