summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/force_inline_opt0.cc
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:34:17 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:34:17 +0000
commit226741d639dcde8838728f590fe0d2fd0c339d32 (patch)
treed4ebc5d36c6d8c6902c43fdad2bc03637eb2df5d /test/asan/TestCases/force_inline_opt0.cc
parent16bae2463f98c0e3988b3bd94fce5012ae6a68ba (diff)
Add %run to all lit tests
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/force_inline_opt0.cc')
-rw-r--r--test/asan/TestCases/force_inline_opt0.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/force_inline_opt0.cc b/test/asan/TestCases/force_inline_opt0.cc
index 775a66dfe..e6e5d26c7 100644
--- a/test/asan/TestCases/force_inline_opt0.cc
+++ b/test/asan/TestCases/force_inline_opt0.cc
@@ -1,7 +1,7 @@
// This test checks that we are no instrumenting a memory access twice
// (before and after inlining)
-// RUN: %clangxx_asan -O1 %s -o %t && %t
-// RUN: %clangxx_asan -O0 %s -o %t && %t
+// RUN: %clangxx_asan -O1 %s -o %t && %run %t
+// RUN: %clangxx_asan -O0 %s -o %t && %run %t
__attribute__((always_inline))
void foo(int *x) {
*x = 0;