[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Lexer / has_feature_numerical_stability_sanitizer.cpp
blob78884977322b8e5c8434ba88ad1512a62aee3a5c
1 // RUN: %clang_cc1 -E -fsanitize=numerical %s -o - | FileCheck --check-prefix=CHECK-NSAN %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-NSAN %s
4 #if __has_feature(numerical_stability_sanitizer)
5 int NumericalStabilitySanitizerEnabled();
6 #else
7 int NumericalStabilitySanitizerDisabled();
8 #endif
10 // CHECK-NSAN: NumericalStabilitySanitizerEnabled
11 // CHECK-NO-NSAN: NumericalStabilitySanitizerDisabled