mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
17 lines
233 B
D
17 lines
233 B
D
// PERMUTE ARGS:
|
|
|
|
@disable void foo() {}
|
|
void foo(int) {}
|
|
alias g = foo;
|
|
|
|
// make sure the order of declaration
|
|
// doesn't change anything
|
|
void bar(int) {}
|
|
@disable void bar() {}
|
|
alias h = bar;
|
|
|
|
void main()
|
|
{
|
|
g(10);
|
|
h(10);
|
|
}
|