1 // Test that gcc-toolchain option works correctly with a aarch64-linux-gnu
2 // triple.
3 //
4 // RUN: %clang %s -### -v --target=aarch64-linux-gnu \
5 // RUN:   --gcc-toolchain=%S/Inputs/basic_android_ndk_tree/ 2>&1 \
6 // RUN: | FileCheck %s
7 //
8 // CHECK: Selected GCC installation: {{.*}}/Inputs/basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9
9