forked from OSchip/llvm-project
[asan] Fix test by removing "The signal is caused" check.
llvm-svn: 300939
This commit is contained in:
parent
2195ec9ad4
commit
a232323ff7
|
@ -28,8 +28,7 @@ int main(int argc, char **argv) {
|
|||
return 1;
|
||||
char *r = strchr(s, 'x');
|
||||
// CHECK: AddressSanitizer: {{SEGV|BUS}} on unknown address
|
||||
// CHECK: The signal is caused by a {{READ|UNKNOWN}} memory access
|
||||
// CHECK: strchr.c:[[@LINE-3]]
|
||||
// CHECK: strchr.c:[[@LINE-2]]
|
||||
assert(r == p);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue