current parser token 'int' Illegal instruction error

Hello,

I am trying to write a tool. When I added compile_database.json to file tool
suddenly gave this as an output:

Stack dump:
0. test.c:16:1: current parser token 'int'
Illegal instruction (core dumped)

test.c is a simplest file I imagined to test tool, and referring 'int' is a
"int main..."

Is it a problem with my tool(I used example from here:
http://llvm.org/releases/3.3/tools/clang/docs/LibTooling.html) or something
else?

Thank you,
Vadim B.