FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template32.C
blobd510e93c4920b8fedd316cb54cc3229fe56a48c2
1 // Bug: Instantiating A<int> screws with class bindings for B
2 // Build don't link:
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; }