summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/implicit-arg.c
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-01-27 02:59:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-01-27 02:59:39 +0000
commitce95cddd0fddee773e7b8311573ac20fecbd0589 (patch)
tree72dd7c85c08e9fe4b388d4a591f49441bedae8d6 /llvm/test/FrontendC/implicit-arg.c
parent7740523a890e1a1cdd99fc087d33ec238fd893bd (diff)
downloadbcm5719-llvm-ce95cddd0fddee773e7b8311573ac20fecbd0589.tar.gz
bcm5719-llvm-ce95cddd0fddee773e7b8311573ac20fecbd0589.zip
Forgot this test case.
llvm-svn: 63089
Diffstat (limited to 'llvm/test/FrontendC/implicit-arg.c')
-rw-r--r--llvm/test/FrontendC/implicit-arg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/FrontendC/implicit-arg.c b/llvm/test/FrontendC/implicit-arg.c
new file mode 100644
index 00000000000..971245f3bad
--- /dev/null
+++ b/llvm/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) {
+}
OpenPOWER on IntegriCloud