Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Lexer / has_feature_xray_instrument.cpp
blobcd2750d77f9b8d43dfb61db80f1af623c80094df
1 // RUN: %clang_cc1 -E -fxray-instrument %s -o - | FileCheck --check-prefix=CHECK-XRAY %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-XRAY %s
4 #if __has_feature(xray_instrument)
5 int XRayInstrumentEnabled();
6 #else
7 int XRayInstrumentDisabled();
8 #endif
10 // CHECK-XRAY: XRayInstrumentEnabled
11 // CHECK-NO-XRAY: XRayInstrumentDisabled