summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array6.C
blob: 6181d02bfd23dfc56af21c8cbccb10eaa6525395 (plain)
1
2
3
4
5
6
7
// { dg-do compile }

char arr [][4] = { "one", "two" };
const char arr2[][4] = { "one", "two" };
signed char arr3[][4] = { "one", "two" };
const unsigned char arr4[][4] = { "one", "two" };
volatile wchar_t arr5[][4] = { L"one", L"two" };