p1.cpp revision 8e8fb3be5bd78f0564444eca02b404566a5f3b5d
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4char x1[]("hello");
5extern char x1[6];
6
7char x2[] = "hello";
8extern char x2[6];
9
10char x3[] = { "hello" };
11extern char x3[6];
12
13wchar_t x4[](L"hello");
14extern wchar_t x4[6];
15
16wchar_t x5[] = L"hello";
17extern wchar_t x5[6];
18
19wchar_t x6[] = { L"hello" };
20extern wchar_t x6[6];
21