1 // RUN: %clang_cc1 -E -fsanitize=leak %s -o - | FileCheck --check-prefix=CHECK-LSAN %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-LSAN %s
4 #if __has_feature(leak_sanitizer)
5 int LeakSanitizerEnabled();
7 int LeakSanitizerDisabled();
10 // CHECK-LSAN: LeakSanitizerEnabled
11 // CHECK-NO-LSAN: LeakSanitizerDisabled