1 // RUN: %clang_cc1 -E -fsanitize=memory %s -o - | FileCheck --check-prefix=CHECK-MSAN %s
2 // RUN: %clang_cc1 -E -fsanitize=kernel-memory %s -o - | FileCheck --check-prefix=CHECK-MSAN %s
3 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-MSAN %s
5 #if __has_feature(memory_sanitizer)
6 int MemorySanitizerEnabled();
8 int MemorySanitizerDisabled();
11 // CHECK-MSAN: MemorySanitizerEnabled
12 // CHECK-NO-MSAN: MemorySanitizerDisabled