1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3class M { 4 int iM; 5}; 6 7class P { 8 int iP; // expected-note {{declared private here}} 9 int PPR(); // expected-note {{declared private here}} 10}; 11 12class N : M,P { 13 N() {} 14 int PR() { return iP + PPR(); } // expected-error 2 {{private member of 'P'}} 15}; 16