Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / nostdincxx.cpp
blobef5702a19c037f2fef904bc610ea2aeabf313ada
1 // RUN: not %clangxx -nostdinc %s 2>&1 | FileCheck %s
2 // RUN: not %clangxx -nostdinc++ %s 2>&1 | FileCheck %s
3 // RUN: not %clangxx -nostdlibinc %s 2>&1 | FileCheck %s
4 // RUN: not %clangxx --target=x86_64-unknown-unknown-gnu -fsyntax-only -nostdinc -nostdinc++ %s 2>&1 | FileCheck /dev/null --implicit-check-not=-Wunused-command-line-argument
5 // CHECK: 'vector' file not found
6 #include <vector>
8 // MSVC, PS4, PS5 have C++ headers in the same directory as C headers.
9 // UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}