brintos

brintos / llvm-project-archived public Read only

0
0
Text · 682 B · 94d74f2 Raw
11 lines · cpp
1// RUN: not %clangxx -nostdinc %s 2>&1 | FileCheck %s2// RUN: not %clangxx -nostdinc++ %s 2>&1 | FileCheck %s3// RUN: not %clangxx -nostdlibinc %s 2>&1 | FileCheck %s4// 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-argument5// RUN: not %clangxx --target=riscv64-unknown-elf -fsyntax-only -nostdinc -nostdinc++ %s 2>&1 | FileCheck /dev/null --implicit-check-not=-Wunused-command-line-argument6// CHECK: 'vector' file not found7#include <vector>8 9// MSVC, PS4, PS5 have C++ headers in the same directory as C headers.10// UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}11