ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gdc.test/compilable/test17908.d

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