mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
29 lines
389 B
D
29 lines
389 B
D
// https://issues.dlang.org/show_bug.cgi?id=23948
|
|
|
|
void foo1(const(char)* fun = __FILE__)() {
|
|
|
|
}
|
|
|
|
void foo2(const(char)* fun = __FILE_FULL_PATH__)() {
|
|
|
|
}
|
|
|
|
void foo3(const(char)* fun = __MODULE__)() {
|
|
|
|
}
|
|
|
|
void foo4(const(char)* fun = __FUNCTION__)() {
|
|
|
|
}
|
|
|
|
void foo5(const(char)* fun = __PRETTY_FUNCTION__)() {
|
|
|
|
}
|
|
|
|
void main() {
|
|
foo1();
|
|
foo2();
|
|
foo3();
|
|
foo4();
|
|
foo5();
|
|
}
|