]> granicus.if.org Git - clang/commitdiff
clang/test/CXX/drs/dr4xx.cpp: Use env(1) to satisfy lit internal runner.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 12 May 2014 10:16:20 +0000 (10:16 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 12 May 2014 10:16:20 +0000 (10:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208532 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/drs/dr4xx.cpp

index e4757b61fd8effc99f94a533e5e26521c1ba805c..03f384aeb9e530c28149893f5cff14e80b115f22 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
 
 // FIXME: __SIZE_TYPE__ expands to 'long long' on some targets.
 __extension__ typedef __SIZE_TYPE__ size_t;