]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/fail158.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail158.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail158.d(17): Error: more initializers than fields (2) of S
5 ---
6 */
7
8 struct S
9 {
10 int i;
11 int j = 3;
12 }
13
14
15 void main()
16 {
17 S s = S( 1, 5, 6 );
18 }