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
3 
4 #if __has_feature(leak_sanitizer)
5 int LeakSanitizerEnabled();
6 #else
7 int LeakSanitizerDisabled();
8 #endif
9 
10 // CHECK-LSAN: LeakSanitizerEnabled
11 // CHECK-NO-LSAN: LeakSanitizerDisabled
12