summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/debug-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/debug-info.c')
-rw-r--r--test/CodeGen/debug-info.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/CodeGen/debug-info.c b/test/CodeGen/debug-info.c
index beee7ac..85ad988 100644
--- a/test/CodeGen/debug-info.c
+++ b/test/CodeGen/debug-info.c
@@ -1,10 +1,12 @@
-// RUN: clang-cc -o %t --emit-llvm -g %s
+// RUN: clang-cc -o %t --emit-llvm -g %s &&
+// RUN: FileCheck --input-file=%t %s
// PR3023
void convert(void) {
struct { typeof(0) f0; } v0;
}
+
// PR2784
struct OPAQUE;
typedef struct OPAQUE *PTR;
@@ -19,9 +21,11 @@ struct s0 *f0(struct s0 *a0) {
return a0->p;
}
+
// PR3134
char xpto[];
+
// PR3427
struct foo {
int a;
@@ -29,9 +33,17 @@ struct foo {
};
struct foo bar;
+
// PR4143
struct foo2 {
enum bar *bar;
};
struct foo2 foo2;
+
+
+// Radar 7325611
+// CHECK: "barfoo"
+typedef int barfoo;
+barfoo foo() {
+}
OpenPOWER on IntegriCloud