The code snippet below compiles but the linker fails with Error 42: Symbol undefined.

What am I doing wrong?

void main()
{
        int foo(int a);
        alias FP = int delegate(int);
        FP fp = &foo;
}

Paul

Reply via email to