Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail273.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail273.d(10): Error: alias `fail273.b` recursive alias declaration
5 ---
6 */
7
8 // https://issues.dlang.org/show_bug.cgi?id=1054
9 // regression: circular aliases cause compiler stack overflow
10 alias a b;
11 alias b a;
12 b x; // ICE #1
13 a y; // ICE #2