Namespace:

/d917/f732.d(8): Error: basic type expected, not extern
/d917/f732.d(8): Error: semicolon expected to close alias declaration /d917/f732.d(8): Error: no identifier for declarator void function(T*)

It seems that even the new alias syntax doesn't support the extern :-) Perhaps this bug is not yet in Bugzilla.

Try:

alias extern(C) void function(T*) TF;
void foo(T)(TF func) {}

Bye,
bearophile

Reply via email to