April 06, 2023
https://issues.dlang.org/show_bug.cgi?id=23832

          Issue ID: 23832
           Summary: dmd regression 2.103.0 silent error cannot call decode
                    at runtime
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: alphaglosined@gmail.com

The second static assert below will not trigger, but the first will.

dmd -betterC test.d

```d
void main() {
        import std.utf : decode;
        size_t i;
        string str = "test";
        // static assert(0);
        dchar c = decode(str, i);
        static assert(0);
}
```

No output is given without the first static assert.

--