Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail113.d(10): Error: forward reference to `test`
5 ---
6 */
7
8 // https://issues.dlang.org/show_bug.cgi?id=370
9 // Compiler stack overflow on recursive typeof in function declaration.
10 void test(typeof(test) p) {}