blob: 6f09f658487e7f5c80f006d7e4ab7764ab28b8cd [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 );
}