From 98a541e80848d3b7d1131237ac04e698faffd151 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 29 Jul 2009 18:40:24 +0000 Subject: 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 --- test/CodeGenCXX/constructor-init.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/CodeGenCXX/constructor-init.cpp') 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; -- cgit v1.2.3