summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-23 14:22:18 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-23 14:22:18 +0000
commit73490b890977362d28dd6326843a1ecae413921d (patch)
tree3fdd91eae574e32453a4baf462961c742df2691a /test/CodeGen/debug-info.c
parenta5f348eb914e67b51914117fac117c18c1f8d650 (diff)
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 beee7ac9b61a3..85ad988bc2162 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() {
+}