blob: 90288e8a3365773b8b73f84c38389c75c901db6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Build don't link:
// Origin: Jason Merrill <jason@cygnus.com>
// Special g++ Options: -Wno-non-template-friend
template<class T> struct A
{
friend void f ();
};
A<short> a;
A<int> b;
|