1 // RUN: %clang_cc1 -E -fsanitize=efficiency-cache-frag %s -o - | FileCheck --check-prefix=CHECK-ESAN %s
2 // RUN: %clang_cc1 -E -fsanitize=efficiency-working-set %s -o - | FileCheck --check-prefix=CHECK-ESAN %s
3 // RUN: %clang_cc1 -E  %s -o - | FileCheck --check-prefix=CHECK-NO-ESAN %s
4 
5 #if __has_feature(efficiency_sanitizer)
6 int EfficiencySanitizerEnabled();
7 #else
8 int EfficiencySanitizerDisabled();
9 #endif
10 
11 // CHECK-ESAN: EfficiencySanitizerEnabled
12 // CHECK-NO-ESAN: EfficiencySanitizerDisabled
13