Skip to content

Commit ca4bac2

Browse files
committed
use -O1 instead of /O1 in use-after-scope-loop-bug
This is compatible with the "real" gnu toolchain
1 parent 46684cd commit ca4bac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx_asan %if MSVC %{ /Od %} %else %{ /O1 %} %s -o %t && not %run %t 2>&1 | FileCheck %s
1+
// RUN: %clangxx_asan %if MSVC %{ /Od %} %else %{ -O1 %} %s -o %t && not %run %t 2>&1 | FileCheck %s
22

33
volatile int *p;
44

0 commit comments

Comments
 (0)