]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/asan/TestCases/Windows/on_error_callback.cc
1 // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
3 // FIXME: merge this with the common on_error_callback test when we can run
4 // common tests on Windows.
10 void __asan_on_error() {
11 fprintf(stderr
, "__asan_on_error called");
16 char *x
= (char*)malloc(10 * sizeof(char));
19 // CHECK: __asan_on_error called