[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / nostdincxx.cpp
blob94d74f230eb16c674d7e1f64c5095003ea1b25b1
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 // RUN: not %clangxx --target=riscv64-unknown-elf -fsyntax-only -nostdinc -nostdinc++ %s 2>&1 | FileCheck /dev/null --implicit-check-not=-Wunused-command-line-argument
6 // CHECK: 'vector' file not found
7 #include <vector>
9 // MSVC, PS4, PS5 have C++ headers in the same directory as C headers.
10 // UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}