File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler-rt/test/asan/TestCases/Windows Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11// RUN: %clangxx_asan -O0 %s -o %t
22// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-ABORT
3- // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RETURN_NULL
3+ // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RETURN-NULL
44
55// RUN: %clangxx_asan -O0 %s -o %t -DUSER_FUNCTION
6- // RUN: %env_asan_opts=allocator_may_return_null=1 % run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RETURN_NULL
6+ // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RETURN-NULL
77
88#if USER_FUNCTION
99// On Windows, flags configured through the user-defined function `__asan_default_options`
@@ -29,6 +29,6 @@ int main() {
2929 // CHECK-ABORT: ABORT
3030 free (malloc (max));
3131
32- printf (" Success" ); // CHECK-RETURN_NULL : Success
32+ printf (" Success" ); // CHECK-RETURN-NULL : Success
3333 return 0 ;
3434}
You can’t perform that action at this time.
0 commit comments