1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
8 @implementation testClass
10 static NSArray* prefixArray[] = @"BEGIN:", @"END:", @"VERSION:", @"N:", @"FN:", @"TEL;", @"TEL:", nil; // expected-error {{array initializer must be an initializer list}} \
11 // expected-error {{expected identifier or '('}} \
12 // expected-error {{expected ';' after top level declarator}}
14 static NSString* prefixArray1[] = @"BEGIN:", @"END:", @"VERSION:", @"N:", @"FN:", @"TEL;", @"TEL:", nil; // expected-error {{unknown type name 'NSString'}} \
15 // expected-error {{expected identifier or '('}} \
16 // expected-error {{expected ';' after top level declarator}}
18 static char* cArray[] = "BEGIN:", "END"; // expected-error {{array initializer must be an initializer list}} \
19 // expected-error {{expected identifier or '('}} \
20 // expected-error {{expected ';' after top level declarator}}