summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/android-no-installed-libcxx.cpp
blob: a496a8289b9117b8ed7b04cdb7ca1b30a023b286 (plain)
1
2
3
4
5
6
7
8
9
10
// Check that we don't find the libc++ in the installation directory when
// targeting Android.

// RUN: mkdir -p %t/bin
// RUN: mkdir -p %t/include/c++/v1
// RUN: mkdir -p %t/sysroot
// RUN: %clang -target aarch64-linux-android -ccc-install-dir %t/bin \
// RUN:   --sysroot=%t/sysroot -stdlib=libc++ -fsyntax-only \
// RUN:   %s -### 2>&1 | FileCheck %s
// CHECK-NOT: "-internal-isystem" "{{.*}}v1"
OpenPOWER on IntegriCloud