summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/to2.C
blob: e3667c9e40aa7ce3596f660a0e501dd51945c5b3 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }

template <class A> class B { public: A a; };
static B<int> b_int;
static B<int> b_int2;

int foo () { return b_int.a + b_int2.a; }