1b06fa540SDouglas Gregor // RUN: %clang_cc1 -fsyntax-only -verify %s 2*c6e68daaSAndy Gibbs // expected-no-diagnostics 3b06fa540SDouglas Gregor 4b06fa540SDouglas Gregor char x1[]("hello"); 5b06fa540SDouglas Gregor extern char x1[6]; 6b06fa540SDouglas Gregor 7b06fa540SDouglas Gregor char x2[] = "hello"; 8b06fa540SDouglas Gregor extern char x2[6]; 99eae723cSRichard Smith 109eae723cSRichard Smith char x3[] = { "hello" }; 119eae723cSRichard Smith extern char x3[6]; 129eae723cSRichard Smith 139eae723cSRichard Smith wchar_t x4[](L"hello"); 149eae723cSRichard Smith extern wchar_t x4[6]; 159eae723cSRichard Smith 169eae723cSRichard Smith wchar_t x5[] = L"hello"; 179eae723cSRichard Smith extern wchar_t x5[6]; 189eae723cSRichard Smith 199eae723cSRichard Smith wchar_t x6[] = { L"hello" }; 209eae723cSRichard Smith extern wchar_t x6[6]; 21