aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/montavista-gcc-toolchain.c
blob: b9ab729ef21c864d7d7e6a421f00a4fd5bf1cc21 (plain)
1
2
3
4
5
6
7
8
9
// Test that the montavista gcc-toolchain is correctly detected
//
// RUN: %clang -print-libgcc-file-name 2>&1 \
// RUN:     -target i686-montavista-linux \
// RUN:     -gcc-toolchain %S/Inputs/montavista_i686_tree/usr \
// RUN:   | FileCheck %s

// Test for header search toolchain detection.
// CHECK: montavista_i686_tree/usr/lib/gcc/i686-montavista-linux/4.2.0/libgcc.a