1 // RUN: %clang_cc1 -fsyntax-only -std=c++14 -verify %s
3 namespace NoCrashOnDelayedAccessCheck
{
5 class Private
; // expected-note {{declared private here}}
11 Foo::Private
Bar::ABC
; // expected-error {{no member named 'ABC' in 'NoCrashOnDelayedAccessCheck::Bar'}} \
12 expected
-error
{{'Private' is a
private member of
}}