brintos

brintos / llvm-project-archived public Read only

0
0
Text · 424 B · 5ea2859 Raw
11 lines · cpp
1// This block test a compilation database with files relative to the directory2// RUN: rm -rf %t3// RUN: mkdir %t4// RUN: echo '[{"directory":"%t","command":"clang++ -c test.cpp","file":"test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json5// RUN: cp "%s" "%t/test.cpp"6// RUN: not clang-check -p "%t" "%t/test.cpp" 2>&1|FileCheck %s7// FIXME: Make the above easier.8 9// CHECK: a type specifier is required10invalid;11