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