summaryrefslogtreecommitdiffstats
path: root/test/Index/cindex-on-invalid.m
blob: 651c40a33539e9b86e362ae0b05a39fb19c881f9 (plain)
1
2
3
4
5
6
7
8
// RUN: not c-index-test -test-load-source local %s > %t 2> %t.err
// RUN: FileCheck %s < %t.err

// CHECK: error: expected identifier or '('
// CHECK: Unable to load translation unit!

int foo;
int
OpenPOWER on IntegriCloud