mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
17 lines
202 B
D
17 lines
202 B
D
// https://issues.dlang.org/show_bug.cgi?id=23082
|
|
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
bar
|
|
---
|
|
*/
|
|
|
|
void foo()() {}
|
|
alias bar = foo;
|
|
void bar() { }
|
|
|
|
void main()
|
|
{
|
|
pragma(msg, __traits(parent, main).bar.stringof);
|
|
}
|