merge some testcases together.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59031 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PR2784-debug-info-opaque-struct.c b/test/CodeGen/PR2784-debug-info-opaque-struct.c
deleted file mode 100644
index 5886359..0000000
--- a/test/CodeGen/PR2784-debug-info-opaque-struct.c
+++ /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
index 4768d7e..0000000
--- a/test/CodeGen/PR2950-debug-info-on-recursive-type.c
+++ /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;
-}
-
-
diff --git a/test/CodeGen/debug-info.c b/test/CodeGen/debug-info.c
index 3933416..4a47f66 100644
--- a/test/CodeGen/debug-info.c
+++ b/test/CodeGen/debug-info.c
@@ -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;
+}
+
+