aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/PR2784-debug-info-opaque-struct.c6
-rw-r--r--test/CodeGen/PR2950-debug-info-on-recursive-type.c10
-rw-r--r--test/CodeGen/debug-info.c16
3 files changed, 16 insertions, 16 deletions
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 588635923f..0000000000
--- 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 4768d7e04c..0000000000
--- 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 39334168af..4a47f6615c 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;
+}
+
+