12 lines · cpp
1// RUN: %clang_cc1 -E -fxray-instrument %s -o - | FileCheck --check-prefix=CHECK-XRAY %s2// RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-XRAY %s3 4#if __has_feature(xray_instrument)5int XRayInstrumentEnabled();6#else7int XRayInstrumentDisabled();8#endif9 10// CHECK-XRAY: XRayInstrumentEnabled11// CHECK-NO-XRAY: XRayInstrumentDisabled12