[OptTable] Fix typo VALUE => VALUES (NFCI) (#121523)
[llvm-project.git] / compiler-rt / test / ubsan_minimal / TestCases / override-callback.c
blobe11a3712f1be3b0e2adc54ea54adb65d3a82964a
1 // RUN: %clang -fsanitize=implicit-integer-sign-change %s -o %t && %run %t 0 2>&1 | FileCheck %s
2 #include <stdint.h>
3 #include <stdio.h>
4 #include <stdlib.h>
6 static int Result;
8 void __ubsan_report_error(const char *kind, uintptr_t caller) {
9 fprintf(stderr, "CUSTOM_CALLBACK: %s\n", kind);
12 int main(int argc, const char **argv) {
13 int32_t t0 = (~((uint32_t)0));
14 // CHECK: CUSTOM_CALLBACK: implicit-conversion