dmd/compiler/test/compilable/test17908.d
2022-07-09 18:53:07 +02:00

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);
}