1 // Test that the C++ headers are found. 2 // 3 // RUN: %clang -no-canonical-prefixes %s -### 2>&1 \ 4 // RUN: --target=sparc-sun-solaris2.11 \ 5 // RUN: --gcc-toolchain="" \ 6 // RUN: --sysroot=%S/Inputs/sparc-sun-solaris2.11 \ 7 // RUN: | FileCheck %s 8 // CHECK: "{{[^"]*}}clang{{[^"]*}}" "-cc1" 9 // CHECK: "-internal-isystem" "{{.*}}/usr/include/c++/v1/support/solaris" 10 // CHECK: "-internal-isystem" "{{.*}}/usr/gcc/4.8/include/c++/4.8.2" 11 // CHECK: "-internal-isystem" "{{.*}}/usr/gcc/4.8/include/c++/4.8.2/sparc-sun-solaris2.11" 12