blob: f3ff43eee43ad2400cfe9d26d3e9b196d45f3f86 [file] [log] [blame]
Manuel Klimekcb971c62012-04-04 12:07:46 +00001// RUN: rm -rf %t
2// RUN: mkdir %t
3// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' > %t/compile_commands.json
4// RUN: cp "%s" "%t/test.cpp"
5// RUN: clang-check "%t" "%t/test.cpp" 2>&1|FileCheck %s
6// FIXME: Make the above easier.
7
8invalid; // CHECK: C++ requires