dmd/compiler/test/compilable/test24017.d
Razvan Nitu 7247bb725c
Fix Issue 24017 - Bypassing nothrow with debug doesn’t work (#15355)
* Fix Issue 24017 - Bypassing  with  doesn’t work

* Update compiler/src/dmd/expressionsem.d

Co-authored-by: Dennis <dkorpel@users.noreply.github.com>

---------

Co-authored-by: Dennis <dkorpel@users.noreply.github.com>
2023-06-27 17:24:29 +02:00

11 lines
181 B
D

// https://issues.dlang.org/show_bug.cgi?id=24017
// REQUIRED_ARGS: -debug
void writeln(string) {}
void main() nothrow
{
debug writeln("Hello");
debug "Hello".writeln;
}