diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-27 02:59:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-27 02:59:39 +0000 |
commit | ccc497f15223f146b8bdad265a6cd1604bf6f82f (patch) | |
tree | 71e5d19c959264cbc313305483354936e13e0164 /test/FrontendC/implicit-arg.c | |
parent | e8ecf4876adf7fde02c744ca37a399b9c90eb105 (diff) | |
download | external_llvm-ccc497f15223f146b8bdad265a6cd1604bf6f82f.zip external_llvm-ccc497f15223f146b8bdad265a6cd1604bf6f82f.tar.gz external_llvm-ccc497f15223f146b8bdad265a6cd1604bf6f82f.tar.bz2 |
Forgot this test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/implicit-arg.c')
-rw-r--r-- | test/FrontendC/implicit-arg.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FrontendC/implicit-arg.c b/test/FrontendC/implicit-arg.c new file mode 100644 index 0000000..971245f --- /dev/null +++ b/test/FrontendC/implicit-arg.c @@ -0,0 +1,10 @@ +// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - +// RUN: %llvmgcc %s -S -emit-llvm -O1 -o - +// rdar://6518089 + +static int bar(); +void foo() { + int a = bar(); +} +int bar(unsigned a) { +} |