Home | History | Annotate | Download | only in dcl.init.string
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 char x1[]("hello");
      4 extern char x1[6];
      5 
      6 char x2[] = "hello";
      7 extern char x2[6];
      8 
      9 char x3[] = { "hello" };
     10 extern char x3[6];
     11 
     12 wchar_t x4[](L"hello");
     13 extern wchar_t x4[6];
     14 
     15 wchar_t x5[] = L"hello";
     16 extern wchar_t x5[6];
     17 
     18 wchar_t x6[] = { L"hello" };
     19 extern wchar_t x6[6];
     20