blob: 9fcae5b9cb998f2d22cf040d7c0b8a35b8985623 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail193.d(14): Error: cannot infer type from overloaded function symbol `& foo`
---
*/
void foo() { }
void foo(int) { }
void main()
{
//void function(int) fp = &foo;
auto fp = &foo;
fp(1);
}