aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-13 04:25:24 +0000
committerChris Lattner <sabre@nondot.org>2009-10-13 04:25:24 +0000
commitfe2b3c30a3709b51950225038e289b9eacc35a29 (patch)
tree40f1c9e975435d35d0d26a8627fdbe1453b967a6 /test/FrontendC++
parent1c04f26c3e682a28878f7eb58e324892aaee875a (diff)
downloadexternal_llvm-fe2b3c30a3709b51950225038e289b9eacc35a29.zip
external_llvm-fe2b3c30a3709b51950225038e289b9eacc35a29.tar.gz
external_llvm-fe2b3c30a3709b51950225038e289b9eacc35a29.tar.bz2
remove two old and nearly useless tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++')
-rw-r--r--test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp21
-rw-r--r--test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp13
2 files changed, 0 insertions, 34 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();
-}