summaryrefslogtreecommitdiffstats
path: root/test/Index/cindex-on-invalid.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-18 20:11:31 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-18 20:11:31 +0000
commitb2710713377f3b900a92ab69c4cf091f560a5cfb (patch)
treef03b9cdeeca3817e9caf032c3ed235afae6beb4f /test/Index/cindex-on-invalid.m
parent3b47733ceac33306bd54ce9d6c7d8eeeae52c7ca (diff)
Resurrect the displayDiagnostics parameter to clang_createIndex(), and
display captured diagnostics when we can't return an invalid CXTranslationUnit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/cindex-on-invalid.m')
-rw-r--r--test/Index/cindex-on-invalid.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Index/cindex-on-invalid.m b/test/Index/cindex-on-invalid.m
index 0f6bdffe91..651c40a335 100644
--- a/test/Index/cindex-on-invalid.m
+++ b/test/Index/cindex-on-invalid.m
@@ -1,6 +1,5 @@
// RUN: not c-index-test -test-load-source local %s > %t 2> %t.err
// RUN: FileCheck %s < %t.err
-// XFAIL: *
// CHECK: error: expected identifier or '('
// CHECK: Unable to load translation unit!