[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / SemaCXX / access-control-check.cpp
blob4540e99d8a3376a0f11bdb34fafb93a7651d806f
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 class M {
4 int iM;
5 };
7 class P {
8 int iP; // expected-note {{declared private here}}
9 int PPR(); // expected-note {{declared private here}}
12 class N : M,P {
13 N() {}
14 int PR() { return iP + PPR(); } // expected-error 2 {{private member of 'P'}}