diff options
Diffstat (limited to 'test/FrontendC++')
-rw-r--r-- | test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp | 21 | ||||
-rw-r--r-- | test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp | 13 | ||||
-rw-r--r-- | test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp | 5 |
3 files changed, 0 insertions, 39 deletions
diff --git a/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp b/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp deleted file mode 100644 index e6c09e5..0000000 --- a/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp +++ /dev/null @@ -1,21 +0,0 @@ -// The code generated for this testcase should be completely typesafe! -// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | \ -// RUN: notcast - -struct contained { - unsigned X; - contained(); -}; - -struct base { - unsigned A, B; -}; - -struct derived : public base { - contained _M_value_field; -}; - -int test() { - derived X; -} - 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(); -} diff --git a/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp b/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp deleted file mode 100644 index 56508b7..0000000 --- a/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// Test on debug info to make sure that anon typedef info is emitted. -// RUN: %llvmgcc -S --emit-llvm -x c++ -g %s -o - | grep composite -typedef struct { int a; long b; } foo; -foo x; - |