aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test17908.d
blob: 3520b5f44ee69ef0c2190ee78946e67a110fadb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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);
}