diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-29 18:40:24 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-29 18:40:24 +0000 |
commit | bb67b827d94b26a1cd42a02a81798c5a9c83040c (patch) | |
tree | 13d7ea041db9d3844bf10dbaa69b1c2c4817829b /clang/test/CodeGenCXX/constructor-init.cpp | |
parent | 1901e3e165ce5d9ecf527fa2dd7d51b57be3fe58 (diff) | |
download | bcm5719-llvm-bb67b827d94b26a1cd42a02a81798c5a9c83040c.tar.gz bcm5719-llvm-bb67b827d94b26a1cd42a02a81798c5a9c83040c.zip |
Patch to provide cast of objects in member access
excpression, if needed, and remove some ir-gen code
now unnencessary.
llvm-svn: 77490
Diffstat (limited to 'clang/test/CodeGenCXX/constructor-init.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/constructor-init.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/constructor-init.cpp b/clang/test/CodeGenCXX/constructor-init.cpp index c46a561c308..a9d5c289e26 100644 --- a/clang/test/CodeGenCXX/constructor-init.cpp +++ b/clang/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; |