1. Vincenzo Ampolo
  2. gdc

Source

gdc / gdc.test / fail_compilation / fail194.d

import core.vararg;

void bar(int i, ...) { }

void foo() { }
void foo(int) { }

void main()
{
    //bar(1, cast(void function())&foo);
    bar(1, &foo);
}