diff options
author | Mike Stump <mrs@apple.com> | 2009-10-23 01:52:13 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-23 01:52:13 +0000 |
commit | ae2559a221013e276b01712d0bf47b986fa64690 (patch) | |
tree | fb11ae5367b3a43c23341764337ff9aa38426cb1 /clang/test/CodeGen/debug-info.c | |
parent | dbe4424c375d2c7f9623e8f1c2a345ae16afb806 (diff) | |
download | bcm5719-llvm-ae2559a221013e276b01712d0bf47b986fa64690.tar.gz bcm5719-llvm-ae2559a221013e276b01712d0bf47b986fa64690.zip |
Fixup the return type of functions.
llvm-svn: 84922
Diffstat (limited to 'clang/test/CodeGen/debug-info.c')
-rw-r--r-- | clang/test/CodeGen/debug-info.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/clang/test/CodeGen/debug-info.c b/clang/test/CodeGen/debug-info.c index beee7ac9b61..16e4b88a0d4 100644 --- a/clang/test/CodeGen/debug-info.c +++ b/clang/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,16 @@ struct foo { }; struct foo bar; + // PR4143 struct foo2 { enum bar *bar; }; struct foo2 foo2; + + +// CHECK: "barfoo" +typedef int barfoo; +barfoo foo() { +} |