summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t03.C
blob: 7e64060e468da5191b7089001a4b2f342529f8d4 (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<char> b_char;

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