forked from OSchip/llvm-project
[test] Fix unused FileCheck prefixes in compiler-rt/test
This commit is contained in:
parent
0b70c86e20
commit
327196d688
|
@ -72,6 +72,7 @@ int main(int argc, const char *argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
// CHECK: Counters:
|
||||
// CHECK-1-LABEL: caller_with_value_site_never_called2:
|
||||
// CHECK-1-NEXT: Hash: 0x0000000000000000
|
||||
// CHECK-1-NEXT: Counters:
|
||||
|
|
|
@ -16,6 +16,7 @@ int main(int argc, char *argv[]) {
|
|||
base = (char *)0;
|
||||
result = base + 0;
|
||||
// CHECK-C: {{.*}}.cpp:[[@LINE-1]]:17: runtime error: applying zero offset to null pointer
|
||||
// CHECK-CPP-NOT: runtime error:
|
||||
|
||||
base = (char *)0;
|
||||
result = base + 1;
|
||||
|
|
|
@ -17,6 +17,8 @@ int main(int argc, char *argv[]) {
|
|||
result = base + 0;
|
||||
// CHECK-NOTYPE-C: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior {{.*}}summary.cpp:[[@LINE-1]]:17
|
||||
// CHECK-TYPE-C: SUMMARY: UndefinedBehaviorSanitizer: nullptr-with-offset {{.*}}summary.cpp:[[@LINE-2]]:17
|
||||
// CHECK-NOTYPE-CPP-NOT: SUMMARY:
|
||||
// CHECK-TYPE-CPP-NOT: SUMMARY:
|
||||
|
||||
base = (char *)0;
|
||||
result = base + 1;
|
||||
|
|
Loading…
Reference in New Issue