blob: fb124a932a1216fcc44f83b7f8b9dab65dfadad1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// RUN: clang-cc -fsyntax-only -faccess-control -verify %s
class M {
int iM;
};
class P {
int iP;
int PPR();
};
class N : M,P {
N() {}
// FIXME. No access violation is reported in method call or member access.
int PR() { return iP + PPR(); }
};
|