blob: 353874f598b4372f5c0c31da36eaba3e5b5f2e1a [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail158.d(17): Error: more initializers than fields (2) of S
---
*/
struct S
{
int i;
int j = 3;
}
void main()
{
S s = S( 1, 5, 6 );
}