Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/template32.C

raw
1 // { dg-do assemble }
2 // Bug: Instantiating A<int> screws with class bindings for B
3
4 template <class T> struct A { };
5 struct B {
6 typedef int foo;
7 void f ();
8 };
9
10 void B::f () { A<int> a; foo i; }