From: Ted Kremenek Date: Tue, 28 Sep 2010 21:11:07 +0000 (+0000) Subject: Add test case for (fixed in r114392). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4949927fd5f8632ecb1ecdfdac0d13f8357b1984;p=clang Add test case for (fixed in r114392). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114989 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/cindex-on-invalid-usrs.m b/test/Index/cindex-on-invalid-usrs.m new file mode 100644 index 0000000000..01002bc30f --- /dev/null +++ b/test/Index/cindex-on-invalid-usrs.m @@ -0,0 +1,7 @@ +// RUN: c-index-test -test-load-source-usrs local %s 2>&1 | FileCheck %s + +// - Crash when generating USRs. +@interface Rdar8452791 () - (void)rdar8452791; + +// CHECK: error: cannot find interface declaration for 'Rdar8452791' +// CHECK: missing @end