Use %s, not explicit name.
authorDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2007 16:06:17 +0000 (16:06 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2007 16:06:17 +0000 (16:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36136 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2004-11-27-StaticFunctionRedeclare.c

index 0193bc301ac67d00aaa69736398e5585eb9f1d31..ef121224253278c2d07a93e8d0ddea9fe3fdb3e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c -emit-llvm 2004-11-27-StaticFunctionRedeclare.c -o - | \
+// RUN: %llvmgcc -c -emit-llvm %s -o - | \
 // RUN:   opt -std-compile-opts | llvm-dis | not grep {declare int.*func}
 
 // There should not be an unresolved reference to func here.  Believe it or not,