]> granicus.if.org Git - clang/commitdiff
merge some testcases together.
authorChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 06:42:53 +0000 (06:42 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 06:42:53 +0000 (06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59031 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PR2784-debug-info-opaque-struct.c [deleted file]
test/CodeGen/PR2950-debug-info-on-recursive-type.c [deleted file]
test/CodeGen/debug-info.c

diff --git a/test/CodeGen/PR2784-debug-info-opaque-struct.c b/test/CodeGen/PR2784-debug-info-opaque-struct.c
deleted file mode 100644 (file)
index 5886359..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// RUN: clang -g -emit-llvm -o %t %s
-// PR2784
-
-struct OPAQUE;
-typedef struct OPAQUE *PTR;
-PTR p;
diff --git a/test/CodeGen/PR2950-debug-info-on-recursive-type.c b/test/CodeGen/PR2950-debug-info-on-recursive-type.c
deleted file mode 100644 (file)
index 4768d7e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: clang -g -emit-llvm -o %t %s
-
-struct s0;
-struct s0 { struct s0 *p; } g0;
-
-struct s0 *f0(struct s0 *a0) {
-  return a0->p;
-}
-  
-  
index 39334168af944c1972d1e46ae01c5f4f02b1acf2..4a47f6615cdfebc2a6ab322f3a93154c8cc0db86 100644 (file)
@@ -4,3 +4,19 @@
 void convert(void) {
   struct { typeof(0) f0; } v0;
 }
+
+// PR2784
+struct OPAQUE;
+typedef struct OPAQUE *PTR;
+PTR p;
+
+
+// PR2950
+struct s0;
+struct s0 { struct s0 *p; } g0;
+
+struct s0 *f0(struct s0 *a0) {
+  return a0->p;
+}
+  
+