Skip to content

Commit 67a7658

Browse files
committed
Fixed the test.
1 parent 189941c commit 67a7658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/test/ubsan_minimal/TestCases/override-callback.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
static int Result;
77

8-
void __ubsan_report_error(const char *msg, uintptr_t caller, int abort) {
9-
fprintf(stderr, "CUSTOM_CALLBACK: %s %d\n", msg, abort);
8+
void __ubsan_report_error(const char *msg, uintptr_t caller) {
9+
fprintf(stderr, "CUSTOM_CALLBACK: %s\n", msg);
1010
}
1111

1212
int main(int argc, const char** argv) {
1313
int32_t t0 = (~((uint32_t)0));
14-
// CHECK: CUSTOM_CALLBACK: implicit-conversion 0
14+
// CHECK: CUSTOM_CALLBACK: implicit-conversion
1515
}

0 commit comments

Comments
 (0)