xxxxxxxxxx
void main()
{
import std.stdio;
writeln(f(B())); // does what anyone would expect
writeln(f(A.a)); // does what anyone would expect
}
enum A : int { a }
struct B {
alias b = A.a;
alias b this;
}
string f(short) { return "string";}
int f(int) { return 42;}