Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=23082
2
3 /*
4 TEST_OUTPUT:
5 ---
6 bar
7 ---
8 */
9
10 void foo()() {}
11 alias bar = foo;
12 void bar() { }
13
14 void main()
15 {
16 pragma(msg, __traits(parent, main).bar.stringof);
17 }