2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template32.C
blob3bbb6e8c59c7d229c8345e6220910a0f41e2f306
1 // { dg-do assemble  }
2 // Bug: Instantiating A<int> screws with class bindings for B
4 template <class T> struct A { };
5 struct B {
6   typedef int foo;
7   void f ();
8 };
10 void B::f () { A<int> a; foo i; }