summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-03-26 01:34:53 +0000
committerTed Kremenek <kremenek@apple.com>2010-03-26 01:34:53 +0000
commitc5260901e9303640adcfe178514b71f44bb63c27 (patch)
tree8366c7b1752d6db9913779c8190af791b2590cae /clang
parent014e70b797069753ca42506eb23ba07ec9be0a97 (diff)
downloadbcm5719-llvm-c5260901e9303640adcfe178514b71f44bb63c27.tar.gz
bcm5719-llvm-c5260901e9303640adcfe178514b71f44bb63c27.zip
Update test case since c-index-test now works on invalid sources.
llvm-svn: 99595
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Index/cindex-on-invalid.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/test/Index/cindex-on-invalid.m b/clang/test/Index/cindex-on-invalid.m
index 7e190eb0794..d2d952d8b19 100644
--- a/clang/test/Index/cindex-on-invalid.m
+++ b/clang/test/Index/cindex-on-invalid.m
@@ -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
OpenPOWER on IntegriCloud