[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / montavista-gcc-toolchain.c
blob402e53b63c5a29643029628402a9e49ae373a950
1 // Test that the montavista gcc-toolchain is correctly detected
2 //
3 // RUN: %clang -rtlib=platform -print-libgcc-file-name 2>&1 \
4 // RUN: --target=i686-montavista-linux \
5 // RUN: --gcc-toolchain=%S/Inputs/montavista_i686_tree/usr \
6 // RUN: | FileCheck %s
8 // Test for header search toolchain detection.
9 // CHECK: montavista_i686_tree/usr/lib/gcc/i686-montavista-linux/4.2.0{{/|\\}}libgcc.a