aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/template2.C
blob: bb7c1dced714a15c52951b983a1ef73072c12704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Build don't link:
//Inheritance from templates which are namespace members
namespace foo {

  template <class T>
  struct x {
    x(){}
  };

}

class y : public foo::x<int> {};

y r;