summaryrefslogtreecommitdiff
path: root/test/Feature/weak_constant.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
commit9c7a988e3b014ed56e6765f9ceb68d80d56414c0 (patch)
treece8a83d128369dc8572b5b3d6421f71ec8d13577 /test/Feature/weak_constant.ll
parent2ba62ef7f201b2e8f61c6988e76b40c7c8a6a191 (diff)
downloadllvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.tar.gz
llvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.tar.bz2
llvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.tar.xz
Use "opt < %s" instead of "opt %s" so that opt doesn't print the test
filename in the output, which interferes with the tests' grep lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/weak_constant.ll')
-rw-r--r--test/Feature/weak_constant.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/weak_constant.ll b/test/Feature/weak_constant.ll
index fde155175a..9025aaac79 100644
--- a/test/Feature/weak_constant.ll
+++ b/test/Feature/weak_constant.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -std-compile-opts -S > %t
+; RUN: opt < %s -std-compile-opts -S > %t
; RUN: grep undef %t | count 1
; RUN: grep 5 %t | count 1
; RUN: grep 7 %t | count 1