summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/stack-buffer-overflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/stack-buffer-overflow.cc')
-rw-r--r--test/asan/TestCases/stack-buffer-overflow.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/asan/TestCases/stack-buffer-overflow.cc b/test/asan/TestCases/stack-buffer-overflow.cc
index 325257398..bd0c4772c 100644
--- a/test/asan/TestCases/stack-buffer-overflow.cc
+++ b/test/asan/TestCases/stack-buffer-overflow.cc
@@ -1,7 +1,7 @@
-// RUN: %clangxx_asan -O0 %s -o %t && not %t 2>&1 | FileCheck %s
-// RUN: %clangxx_asan -O1 %s -o %t && not %t 2>&1 | FileCheck %s
-// RUN: %clangxx_asan -O2 %s -o %t && not %t 2>&1 | FileCheck %s
-// RUN: %clangxx_asan -O3 %s -o %t && not %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
#include <string.h>
int main(int argc, char **argv) {