summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/nested-base-member-access.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/nested-base-member-access.cpp')
-rw-r--r--clang/test/CodeGenCXX/nested-base-member-access.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/clang/test/CodeGenCXX/nested-base-member-access.cpp b/clang/test/CodeGenCXX/nested-base-member-access.cpp
index aee7a122325..308f952c6dc 100644
--- a/clang/test/CodeGenCXX/nested-base-member-access.cpp
+++ b/clang/test/CodeGenCXX/nested-base-member-access.cpp
@@ -35,14 +35,15 @@ struct P : Q, L {
struct N : M,P {
N() : M(100), P(200) {}
- void PR() { this->MPR(); this->PPR(); this->QPR();
- IQPR();
- printf("iM = %d\n", iM);
- printf("iP = %d\n", iP);
- printf("iQ = %d\n", iQ);
- printf("iL = %d\n", iL);
- printf("iIQ = %d\n", iIQ);
- }
+ void PR() {
+ this->MPR(); this->PPR(); this->QPR();
+ IQPR();
+ printf("iM = %d\n", iM);
+ printf("iP = %d\n", iP);
+ printf("iQ = %d\n", iQ);
+ printf("iL = %d\n", iL);
+ printf("iIQ = %d\n", iIQ);
+ }
};
int main() {
OpenPOWER on IntegriCloud