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 | bd178d51ff135ff8d4b6d164533f0c33deb2e41d (patch) | |
tree | cf095e0da2117eee435498ec7f91563f4b957295 /clang/test | |
parent | a94d873b4bf9316a3d306a2f1f605101b1015289 (diff) | |
download | bcm5719-llvm-bd178d51ff135ff8d4b6d164533f0c33deb2e41d.tar.gz bcm5719-llvm-bd178d51ff135ff8d4b6d164533f0c33deb2e41d.zip |
merge some testcases together.
llvm-svn: 59031
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/PR2784-debug-info-opaque-struct.c | 6 | ||||
-rw-r--r-- | clang/test/CodeGen/PR2950-debug-info-on-recursive-type.c | 10 | ||||
-rw-r--r-- | clang/test/CodeGen/debug-info.c | 16 |
3 files changed, 16 insertions, 16 deletions
diff --git a/clang/test/CodeGen/PR2784-debug-info-opaque-struct.c b/clang/test/CodeGen/PR2784-debug-info-opaque-struct.c deleted file mode 100644 index 588635923fd..00000000000 --- a/clang/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/clang/test/CodeGen/PR2950-debug-info-on-recursive-type.c b/clang/test/CodeGen/PR2950-debug-info-on-recursive-type.c deleted file mode 100644 index 4768d7e04c3..00000000000 --- a/clang/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/clang/test/CodeGen/debug-info.c b/clang/test/CodeGen/debug-info.c index 39334168af9..4a47f6615cd 100644 --- a/clang/test/CodeGen/debug-info.c +++ b/clang/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; +} + + |