1 // RUN: %clang_cl_asan %Od %s %Fe%t
2 // RUN: %run %t 2>&1 | FileCheck %s
3 // RUN: %env_asan_opts=windows_hook_rtl_allocators=true %run %t 2>&1 | FileCheck %s
4 // UNSUPPORTED: asan-64-bits
10 __sanitizer_get_ownership(const volatile void *p
);
14 buffer
= (char *)HeapAlloc(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS
, 32);
16 assert(!__sanitizer_get_ownership(buffer
));
17 HeapFree(GetProcessHeap(), 0, buffer
);