blob: f19d81a9d0a8e8358d73ff0d20344d486e1b5fa4 (
plain)
1
2
3
4
5
6
|
// Build don't link:
// GROUPS passed friends
// do_friend should complain that foo was declared as a friend of
// A before A was defined
struct A;
struct B { friend A::foo (); };// ERROR - .*
|