blob: cea84a6bd50a41bca77204ad72a5e584101c9ff0 [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=19608
/*
TEST_OUTPUT:
---
fail_compilation/test19608.d(15): Error: cannot pass function `*& f` as a function argument
---
*/
import core.stdc.stdarg;
void f(int) {}
void g(...) {}
void h()
{
g(&f); // OK, function address
g(*&f); // ICE -> Error
}