summaryrefslogtreecommitdiffstats
path: root/test/Index/cindex-on-invalid.m
blob: d2d952d8b19ecd993ed08199b0e58bfa3f2a0cd7 (plain)
1
2
3
4
5
6
// RUN: c-index-test -test-load-source local %s 2>&1 | FileCheck %s

int foo;
int

// CHECK: cindex-on-invalid.m:6:70: error: expected identifier or '('
OpenPOWER on IntegriCloud