From: Lang Hames Date: Wed, 30 Nov 2011 23:03:25 +0000 (+0000) Subject: Test case for fix committed in r145441. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=436bd50a3821c0f7a859af0e423d5c0a55159bf1;p=clang Test case for fix committed in r145441. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145534 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/complete-recovery.m b/test/Index/complete-recovery.m index 08452ed521..19de0fbfc4 100644 --- a/test/Index/complete-recovery.m +++ b/test/Index/complete-recovery.m @@ -23,6 +23,9 @@ // CHECK-CC1: VarDecl:{ResultType A *}{TypedText a} // CHECK-CC1: NotImplemented:{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder expression-or-type}{RightParen )} +// Test case for fix comitted in r145441. +// RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s -fms-compatibility | FileCheck -check-prefix=CHECK-CC1 %s + // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:10:24 %s | FileCheck -check-prefix=CHECK-CC2 %s // CHECK-CC2: NotImplemented:{ResultType char[]}{TypedText @encode}{LeftParen (}{Placeholder type-name}{RightParen )} // CHECK-CC2: NotImplemented:{TypedText _Bool}