[llvm-commits] [llvm] r63089 - /llvm/trunk/test/FrontendC/implicit-arg.c
Evan Cheng
evan.cheng at apple.com
Mon Jan 26 18:59:40 PST 2009
Author: evancheng
Date: Mon Jan 26 20:59:39 2009
New Revision: 63089
URL: http://llvm.org/viewvc/llvm-project?rev=63089&view=rev
Log:
Forgot this test case.
Added:
llvm/trunk/test/FrontendC/implicit-arg.c
Added: llvm/trunk/test/FrontendC/implicit-arg.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/implicit-arg.c?rev=63089&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/implicit-arg.c (added)
+++ llvm/trunk/test/FrontendC/implicit-arg.c Mon Jan 26 20:59:39 2009
@@ -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) {
+}
More information about the llvm-commits
mailing list