[cfe-commits] r99595 - /cfe/trunk/test/Index/cindex-on-invalid.m

Ted Kremenek kremenek at apple.com
Thu Mar 25 18:34:53 PDT 2010


Author: kremenek
Date: Thu Mar 25 20:34:53 2010
New Revision: 99595

URL: http://llvm.org/viewvc/llvm-project?rev=99595&view=rev
Log:
Update test case since c-index-test now works on invalid sources.

Modified:
    cfe/trunk/test/Index/cindex-on-invalid.m

Modified: cfe/trunk/test/Index/cindex-on-invalid.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/cindex-on-invalid.m?rev=99595&r1=99594&r2=99595&view=diff
==============================================================================
--- cfe/trunk/test/Index/cindex-on-invalid.m (original)
+++ cfe/trunk/test/Index/cindex-on-invalid.m Thu Mar 25 20:34:53 2010
@@ -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





More information about the cfe-commits mailing list