## test case
```d
void main()
{
extern(C) alias MyType = void function();
pragma(msg, __traits(getLinkage, MyType));
}
```
## output
> Error: basic type expected, not `alias`
## notes
that works at the module scope.
Comment #1 by nick — 2024-05-31T18:02:36Z
Use:
alias MyType = extern(C) void function();
Comment #2 by robert.schadek — 2024-12-13T19:32:00Z