1*f4a2713aSLionel Sambuc// Note: the run lines follow all tests, since line/column matter here 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucid testCompleteAfterAtSign() { 4*f4a2713aSLionel Sambuc return @""; 5*f4a2713aSLionel Sambuc} 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=CHECK-AT %s 8*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>" 9*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>) 10*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>] 11*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#char[]#]encode(<#type-name#>) 12*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#Protocol *#]protocol(<#protocol-name#>) 13*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>) 14*f4a2713aSLionel Sambuc// CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>} 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CHECK-CONST-STRINGS %s 17*f4a2713aSLionel Sambuc// CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>) 18