brintos

brintos / llvm-project-archived public Read only

0
0
Text · 450 B · 3849f30 Raw
13 lines · cpp
1// RUN: rm -rf %t2// RUN: mkdir %t3// Add a path that doesn't exist as argv[0] for the compile command line:4// RUN: echo '[{"directory":".","command":"/random/tool -c %t/test.cpp","file":"%t/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#include <stddef.h>10 11// CHECK: a type specifier is required12invalid;13