aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.law/inline7.C
blob: c064c98c4fcba8667740a84fa5219fda72d01f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// 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;