blob: 2d60a009d7d2f37b9fc7c552b44e54157dc1d358 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fix350a.d(12): Error: comma expected separating field initializers
fail_compilation/fix350a.d(12): Error: comma expected separating field initializers
---
*/
struct S1
{
int a, b, c;
static immutable S1 C1 = { 1 2 3 }; // no commas here, compiles
static immutable S1 C2 = { 1, 2, 3 }; // compiles as well
}