diff --git a/test/runnable/test5305.d b/test/runnable/test5305.d new file mode 100644 index 000000000000..e1c274d31ca6 --- /dev/null +++ b/test/runnable/test5305.d @@ -0,0 +1,7 @@ +// https://issues.dlang.org/show_bug.cgi?id=5305 + +import std.math; +void map(real function(real) f) { } +int main() { map(&sqrt); return 0; } + +