]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/asan/TestCases/on_error_callback.cc
1 // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
7 void __asan_on_error() {
8 fprintf(stderr
, "__asan_on_error called\n");
13 char *x
= (char*)malloc(10 * sizeof(char));
16 // CHECK: __asan_on_error called