February 15, 2023 [Issue 23714] New: compilable/testcstuff1.c:213:1: error: static assertion failed: u'ab' == 0x610062 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23714 Issue ID: 23714 Summary: compilable/testcstuff1.c:213:1: error: static assertion failed: u'ab' == 0x610062 Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org When compiling the test with `gcc -std=c11 -fsyntax-only` compilable/testcstuff1.c:213:16: warning: character constant too long for its type 213 | _Static_assert(u'ab' == 0x610062, "ok"); | ^~~~~ compilable/testcstuff1.c:213:1: error: static assertion failed: "ok" 213 | _Static_assert(u'ab' == 0x610062, "ok"); | ^~~~~~~~~~~~~~ Test case: ``` _Static_assert(u'ab' == 0x610062, "ok"); ``` -- |
Copyright © 1999-2021 by the D Language Foundation