[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / XRay / xray-ignore-loops-flags.cpp
blob2c6ddb8b52976462c86f886a6b291920e56c5dc0
1 // This test ensures that when we invoke the clang compiler, that the -cc1
2 // options include the -fxray-ignore-loops flag we provide in the
3 // invocation.
4 //
5 // RUN: %clang -fxray-instrument -fxray-ignore-loops -target x86_64-linux- -### \
6 // RUN: -x c++ -emit-llvm -c -o - %s 2>&1 | FileCheck %s
7 // CHECK: -fxray-ignore-loops
8 //
9 // REQUIRES: x86_64 || x86_64h