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