1 // RUN: %clang -O0 %s -o %t && %run %t
3 // FIXME: investigate why this fails on macos
8 const char *test() __attribute__((disable_sanitizer_instrumentation
)) {
9 void *volatile p
= malloc(3);
21 const char *__asan_default_options()
22 __attribute__((disable_sanitizer_instrumentation
)) {
25 const char *__hwasan_default_options()
26 __attribute__((disable_sanitizer_instrumentation
)) {
29 const char *__lsan_default_options()
30 __attribute__((disable_sanitizer_instrumentation
)) {
33 const char *__memprof_default_options()
34 __attribute__((disable_sanitizer_instrumentation
)) {
37 const char *__msan_default_options()
38 __attribute__((disable_sanitizer_instrumentation
)) {
41 const char *__nsan_default_options()
42 __attribute__((disable_sanitizer_instrumentation
)) {
45 const char *__rtsan_default_options()
46 __attribute__((disable_sanitizer_instrumentation
)) {
49 const char *__tsan_default_options()
50 __attribute__((disable_sanitizer_instrumentation
)) {
53 const char *__ubsan_default_options()
54 __attribute__((disable_sanitizer_instrumentation
)) {
58 int main(int argc
, char **argv
) { return 0; }