From 1413217509ca3da8d1cd4e52feabbfe6da9bbae9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Nov 2008 06:42:53 +0000 Subject: [PATCH] merge some testcases together. 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 | 6 ------ .../PR2950-debug-info-on-recursive-type.c | 10 ---------- test/CodeGen/debug-info.c | 16 ++++++++++++++++ 3 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 test/CodeGen/PR2784-debug-info-opaque-struct.c delete mode 100644 test/CodeGen/PR2950-debug-info-on-recursive-type.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 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; +} + +