| 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> |
| 8 |
|
| 9 |
// MSVC, PS4, PS5 have C++ headers in the same directory as C headers. |
| 10 |
// UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}} |