You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
736 B
11 lines
736 B
RUN: %cpp_compiler %S/NullDerefTest.cpp -o %t-NullDerefTest
|
|
|
|
RUN: not %run %t-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
|
RUN: not %run %t-NullDerefTest -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
|
NullDerefTest: ERROR: AddressSanitizer: {{SEGV|access-violation}} on unknown address
|
|
NullDerefTest: Test unit written to ./crash-
|
|
RUN: not %run %t-NullDerefTest -artifact_prefix=ZZZ 2>&1 | FileCheck %s --check-prefix=NullDerefTestPrefix
|
|
NullDerefTestPrefix: Test unit written to ZZZcrash-
|
|
RUN: not %run %t-NullDerefTest -artifact_prefix=ZZZ -exact_artifact_path=FOOBAR 2>&1 | FileCheck %s --check-prefix=NullDerefTestExactPath
|
|
NullDerefTestExactPath: Test unit written to FOOBAR
|