summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/constructor-init.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-07-29 18:40:24 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-07-29 18:40:24 +0000
commit98a541e80848d3b7d1131237ac04e698faffd151 (patch)
tree80af2e9ff7e3c1648ea83f11e16ac210131f4d86 /test/CodeGenCXX/constructor-init.cpp
parentd99cbe66403ee39c2ee58024b9582b95649a4fc5 (diff)
Patch to provide cast of objects in member access
excpression, if needed, and remove some ir-gen code now unnencessary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/constructor-init.cpp')
-rw-r--r--test/CodeGenCXX/constructor-init.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGenCXX/constructor-init.cpp b/test/CodeGenCXX/constructor-init.cpp
index c46a561c30..a9d5c289e2 100644
--- a/test/CodeGenCXX/constructor-init.cpp
+++ b/test/CodeGenCXX/constructor-init.cpp
@@ -38,8 +38,10 @@ struct N : M , P, Q {
printf("iQ = %d\n", iQ);
printf("iP = %d\n", iP);
printf("iM = %d\n", iM);
- printf("iQ = %d\n", (*this).iQ);
- printf("iP = %d\n", ((*this)).iP);
+ // FIXME. We don't yet support this syntax.
+ // printf("iQ = %d\n", (*this).iQ);
+ printf("iQ = %d\n", this->iQ);
+ printf("iP = %d\n", this->iP);
printf("iM = %d\n", this->iM);
}
float ld;