Update test case since c-index-test now works on invalid sources.

llvm-svn: 99595
This commit is contained in:
Ted Kremenek 2010-03-26 01:34:53 +00:00
parent 014e70b797
commit c5260901e9
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
// 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!
// 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 '('