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