blob: ea30ddcbd0a814982f35de8db18912f8cb68493f [file] [log] [blame]
// RUN: clang-cc -fsyntax-only %s
class C {
friend class D;
};
class A {
public:
void f();
};
class B {
// 'A' here should refer to the declaration above.
friend class A;
void f(A *a) { a->f(); }
};