hanchenye-llvm-project/clang/test/Index/cindex-on-invalid.m

9 lines
199 B
Objective-C

// 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