1*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -arch arm64 -miphoneos-version-min=7.0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX 2*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.8 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBSTDCXX 3*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.9 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX 4*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=6.1 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBSTDCXX 5*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=7.0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX 6*67e74705SXin Li // RUN: %clang -target x86_64-apple-darwin -arch armv7k %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX 7*67e74705SXin Li 8*67e74705SXin Li // The purpose of this test is that the libc++ headers should be found 9*67e74705SXin Li // properly. At the moment this is done by passing -stdlib=libc++ down to the 10*67e74705SXin Li // cc1 invocation. If and when we change to finding them in the driver this test 11*67e74705SXin Li // should reflect that. 12*67e74705SXin Li 13*67e74705SXin Li // CHECK-LIBCXX: -stdlib=libc++ 14*67e74705SXin Li 15*67e74705SXin Li // CHECK-LIBSTDCXX-NOT: -stdlib=libc++ 16*67e74705SXin Li // CHECK-LIBSTDCXX-NOT: -stdlib=libstdc++ 17