Bug 22413 – importC: Error: array index 0 is out of bounds

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-10-17T19:42:11Z
Last change time
2021-10-21T21:39:41Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-10-17T19:42:11Z
--- int test() { char msg[] = "ok"; return msg[0] | msg[1]; }
Comment #1 by dlang-bot — 2021-10-17T20:56:48Z
@ibuclaw created dlang/dmd pull request #13189 "fix Issue 22413 - importC: Error: array index 0 is out of bounds" fixing this issue: - fix Issue 22413 - importC: Error: array index 0 is out of bounds https://github.com/dlang/dmd/pull/13189
Comment #2 by dlang-bot — 2021-10-18T18:35:49Z
dlang/dmd pull request #13189 "fix Issue 22413 - importC: Error: array index 0 is out of bounds" was merged into stable: - 6a2bc71685b20c331e643ed26cdae3321fac82f4 by Iain Buclaw: fix Issue 22413 - importC: Error: array index 0 is out of bounds https://github.com/dlang/dmd/pull/13189
Comment #3 by dlang-bot — 2021-10-21T21:39:41Z
dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - c38ffbaacde6863991a9e68d3d4248c928fc97e1 by Iain Buclaw: fix Issue 22413 - importC: Error: array index 0 is out of bounds https://github.com/dlang/dmd/pull/13209