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

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

int foo;
int