Forgot this test case.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 27 Jan 2009 02:59:39 +0000 (02:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 27 Jan 2009 02:59:39 +0000 (02:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63089 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/implicit-arg.c [new file with mode: 0644]

diff --git a/test/FrontendC/implicit-arg.c b/test/FrontendC/implicit-arg.c
new file mode 100644 (file)
index 0000000..971245f
--- /dev/null
@@ -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) {
+}