Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail114.d(12): Error: forward reference to `funcA`
5 ---
6 */
7
8 // https://issues.dlang.org/show_bug.cgi?id=371
9 // ICE on mutual recursive typeof in function declarations
10 void funcA(typeof(&funcB) p) {}
11
12 void funcB(typeof(&funcA) p) {}