d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fix350a.d
blob2d60a009d7d2f37b9fc7c552b44e54157dc1d358
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fix350a.d(12): Error: comma expected separating field initializers
5 fail_compilation/fix350a.d(12): Error: comma expected separating field initializers
6 ---
7 */
8 struct S1
10 int a, b, c;
12 static immutable S1 C1 = { 1 2 3 }; // no commas here, compiles
13 static immutable S1 C2 = { 1, 2, 3 }; // compiles as well