summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-11 06:42:53 +0000
committerChris Lattner <sabre@nondot.org>2008-11-11 06:42:53 +0000
commitbd178d51ff135ff8d4b6d164533f0c33deb2e41d (patch)
treecf095e0da2117eee435498ec7f91563f4b957295 /clang/test/CodeGen/debug-info.c
parenta94d873b4bf9316a3d306a2f1f605101b1015289 (diff)
downloadbcm5719-llvm-bd178d51ff135ff8d4b6d164533f0c33deb2e41d.tar.gz
bcm5719-llvm-bd178d51ff135ff8d4b6d164533f0c33deb2e41d.zip
merge some testcases together.
llvm-svn: 59031
Diffstat (limited to 'clang/test/CodeGen/debug-info.c')
-rw-r--r--clang/test/CodeGen/debug-info.c16
1 files changed, 16 insertions, 0 deletions
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;
+}
+
+
OpenPOWER on IntegriCloud