From ccc497f15223f146b8bdad265a6cd1604bf6f82f Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 27 Jan 2009 02:59:39 +0000 Subject: [PATCH] Forgot this test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63089 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC/implicit-arg.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/FrontendC/implicit-arg.c diff --git a/test/FrontendC/implicit-arg.c b/test/FrontendC/implicit-arg.c new file mode 100644 index 00000000000..971245f3bad --- /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) { +}