cindex-on-invalid.m revision 942209729a70af6230af2c6f0436bb77d2f6891c
1// RUN: not c-index-test -test-load-source local %s > %t 2> %t.err
2// RUN: FileCheck %s < %t.err
3
4// CHECK: error: expected identifier or '('
5// CHECK: Unable to load translation unit!
6
7int foo;
8int
9