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

15 lines
189 B
C

// { dg-do assemble }
//Inheritance from templates which are namespace members
namespace foo {
template <class T>
struct x {
x(){}
};
}
class y : public foo::x<int> {};
y r;