Skip to content

Commit 1f66929

Browse files
committed
incorporate PR feedback
1 parent 4f86077 commit 1f66929

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/test/asan/TestCases/Windows/allocator_may_return_null_limits.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
}

0 commit comments

Comments
 (0)