Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/enum12.C

raw
1 // { dg-do assemble }
2
3 template <int I>
4 struct S1 { };
5
6 template <class T>
7 struct S2 {
8 enum { x = 3 };
9
10 void f(S1<x>&);
11 };
12
13 template <class T>
14 void S2<T>::f(S1<x>&)
15 {
16 }