mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
13 lines
272 B
D
13 lines
272 B
D
void foo()() { }
|
|
void bar(int) { }
|
|
|
|
alias bug = foo;
|
|
alias bug = bar;
|
|
|
|
template Identity(T...) { }
|
|
|
|
void main()
|
|
{
|
|
alias member1 = Identity!(__traits(getMember, mixin(__MODULE__), "bug"));
|
|
alias member2 = Identity!(__traits(getMember, mixin(__MODULE__), "bug"));
|
|
}
|