Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test17908.d

raw
1 // PERMUTE ARGS:
2
3 @disable void foo() {}
4 void foo(int) {}
5 alias g = foo;
6
7 // make sure the order of declaration
8 // doesn't change anything
9 void bar(int) {}
10 @disable void bar() {}
11 alias h = bar;
12
13 void main()
14 {
15 g(10);
16 h(10);
17 }