1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
9 friend void A::a_member(); // ok in c++11, ill-formed in c++98
10 friend void a_member(); // ok in both, refers to non-member
11 friend class A::AInner
; // ok in c++11, extension in c++98
12 friend class AInner
; // ok in both, refers to non-member