aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/inline7.C
blob: 0a1d373d44e7cf8443070c5f4aa4bbc554080ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build don't link: 
// GROUPS passed inlining
   template <class Type>
struct A {
   typedef int X;
   A() {}
   virtual ~A() { }
};
   template <class Type>
struct B : public A<Type> {
   B() { }
}; 
B<int>::X x;