MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice9494.d
blob732b88a992626dbc0eed0e704c1d04908142f690
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice9494.d(10): Error: circular reference to variable `ice9494.test`
5 fail_compilation/ice9494.d(14): Error: circular reference to variable `ice9494.Foo.test`
6 fail_compilation/ice9494.d(19): Error: circular reference to variable `ice9494.Bar.test`
7 ---
8 */
10 int[test] test; // stack overflow
12 class Foo
14 int[this.test] test; // stack overflow
17 struct Bar
19 int[this.test] test; // stack overflow