diff options
Diffstat (limited to 'test/Driver/montavista-gcc-toolchain.c')
-rw-r--r-- | test/Driver/montavista-gcc-toolchain.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Driver/montavista-gcc-toolchain.c b/test/Driver/montavista-gcc-toolchain.c new file mode 100644 index 0000000000..b9ab729ef2 --- /dev/null +++ b/test/Driver/montavista-gcc-toolchain.c @@ -0,0 +1,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 |