12 char str1[] = "Hello";
13 char str2[5] = "Hello";
14 char str3[10] = "Hello";
15 signed char str4[] = "Hello";
16 unsigned char str5[] = "Hello";
17 /* char str4[4] = "Hello"; unclear wether this should be an error or warning
18 * gcc produces a warning, icc an error */
24 struct foo f1 = { 1, 2 };
25 struct foo f2 = { { 1,
27 , 2 }; /* produces a warning on icc and gcc... */
28 struct foo f3 = { { { 1, } }, 2 }; /* produces a warning on icc and gcc... */
38 struct foob ff2 = { 1, 2.5, 4.4, 2 };
45 union foou g1 = { 5 };