brintos

brintos / llvm-project-archived public Read only

0
0
Text · 350 B · 0bc821f Raw
10 lines · cpp
1// RUN: rm -rf %t2// RUN: mkdir %t3// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' | sed -e 's/\\/\//g' > %t/compile_commands.json4// RUN: cp "%s" "%t/test.cpp"5// RUN: not clang-check -p "%t" "%t/test.cpp" 2>&1|FileCheck %s6// FIXME: Make the above easier.7 8// CHECK: a type specifier is required9invalid;10