diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-11 06:42:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-11 06:42:53 +0000 |
commit | 1413217509ca3da8d1cd4e52feabbfe6da9bbae9 (patch) | |
tree | e58c317f814d90e6d8be58317439a68ffc307ee3 | |
parent | d68ba0ee188d08e7a10b5f295675e0782ef4f990 (diff) |
merge some testcases together.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59031 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/PR2784-debug-info-opaque-struct.c | 6 | ||||
-rw-r--r-- | test/CodeGen/PR2950-debug-info-on-recursive-type.c | 10 | ||||
-rw-r--r-- | test/CodeGen/debug-info.c | 16 |
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; +} + + |