Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.ns/template2.C

raw
1 // { dg-do assemble }
2 //Inheritance from templates which are namespace members
3 namespace foo {
4
5 template <class T>
6 struct x {
7 x(){}
8 };
9
10 }
11
12 class y : public foo::x<int> {};
13
14 y r;