mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
12 lines
268 B
D
12 lines
268 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail114.d(12): Error: forward reference to `funcA`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=371
|
|
// ICE on mutual recursive typeof in function declarations
|
|
void funcA(typeof(&funcB) p) {}
|
|
|
|
void funcB(typeof(&funcA) p) {}
|