diff options
Diffstat (limited to 'clang/test/Frontend/warning-stdlibcxx-darwin.cpp')
-rw-r--r-- | clang/test/Frontend/warning-stdlibcxx-darwin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Frontend/warning-stdlibcxx-darwin.cpp b/clang/test/Frontend/warning-stdlibcxx-darwin.cpp new file mode 100644 index 00000000000..3c132b6a833 --- /dev/null +++ b/clang/test/Frontend/warning-stdlibcxx-darwin.cpp @@ -0,0 +1,5 @@ +// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist %s 2>&1 | FileCheck %s +// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist -stdlib=libc++ %s -verify +// CHECK: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead + +// expected-no-diagnostics |