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

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

int foo () { return b_int.a; }