1 // Test that the montavista gcc-toolchain is correctly detected
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 \
8 // Test for header search toolchain detection.
9 // CHECK: montavista_i686_tree/usr/lib/gcc/i686-montavista-linux/4.2.0{{/|\\}}libgcc.a