summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/debug-info.c')
-rw-r--r--clang/test/CodeGen/debug-info.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info.c b/clang/test/CodeGen/debug-info.c
index 0cb01a34cdc..e0ec2c9027c 100644
--- a/clang/test/CodeGen/debug-info.c
+++ b/clang/test/CodeGen/debug-info.c
@@ -28,3 +28,10 @@ struct foo {
void *ptrs[];
};
struct foo bar;
+
+// PR4143
+struct foo2 {
+ enum bar *bar;
+};
+
+struct foo2 foo2;
OpenPOWER on IntegriCloud