1 // Check that we don't find the libc++ in the installation directory when
2 // targeting Android.
3 
4 // RUN: mkdir -p %t/bin
5 // RUN: mkdir -p %t/include/c++/v1
6 // RUN: mkdir -p %t/sysroot
7 // RUN: %clang -target aarch64-linux-android -ccc-install-dir %t/bin \
8 // RUN:   --sysroot=%t/sysroot -stdlib=libc++ -fsyntax-only \
9 // RUN:   %s -### 2>&1 | FileCheck %s
10 // CHECK-NOT: "-internal-isystem" "{{.*}}v1"
11