diff options
Diffstat (limited to 'test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp')
-rw-r--r-- | test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp b/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp deleted file mode 100644 index cb66ba1..0000000 --- a/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp +++ /dev/null @@ -1,13 +0,0 @@ -// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast - -struct A { - A() : i(0) {} - int getI() {return i;} - int i; -}; - -int f(int j) -{ - A a; - return j+a.getI(); -} |