]> granicus.if.org Git - clang/commitdiff
Update test case since c-index-test now works on invalid sources.
authorTed Kremenek <kremenek@apple.com>
Fri, 26 Mar 2010 01:34:53 +0000 (01:34 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 26 Mar 2010 01:34:53 +0000 (01:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99595 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/cindex-on-invalid.m

index 7e190eb0794052e615c759802ef888692639e0fd..d2d952d8b19ecd993ed08199b0e58bfa3f2a0cd7 100644 (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 '('
\ No newline at end of file