void main()
{
extern(C) void foo(int);
foo(42);
}
Undefined symbols for architecture x86_64:
"__D4test4mainFZv3fooUiZv", referenced from:
__Dmain in test.o
Is this a bug?
void main()
{
extern(C) void foo(int);
foo(42);
}
Undefined symbols for architecture x86_64:
"__D4test4mainFZv3fooUiZv", referenced from:
__Dmain in test.o
Is this a bug?