blob: d510e93c4920b8fedd316cb54cc3229fe56a48c2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Bug: Instantiating A<int> screws with class bindings for B
// Build don't link:
template <class T> struct A { };
struct B {
typedef int foo;
void f ();
};
void B::f () { A<int> a; foo i; }
|