Bug 22063 – importC: Error: undefined identifier 'var' with pointer-to-typedef type

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-06-21T18:15:04Z
Last change time
2021-06-22T08:32:19Z
Keywords
ImportC, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-06-21T18:15:04Z
Reduced test: --- typedef struct { int field; } Stype; int main() { Stype *var; }
Comment #1 by dlang-bot — 2021-06-21T19:13:31Z
@ibuclaw created dlang/dmd pull request #12724 "Issue 22063 - importC: Error: undefined identifier 'var' with pointer-to-typedef type" mentioning this issue: - Issue 22063 - importC: Error: undefined identifier 'var' with pointer-to-typedef type https://github.com/dlang/dmd/pull/12724
Comment #2 by dlang-bot — 2021-06-22T08:32:19Z
dlang/dmd pull request #12724 "Issue 22063 - importC: Error: undefined identifier 'var' with pointer-to-typedef type" was merged into master: - da10b04e8f7364f63dc94f5cccf99b5485be6961 by Iain Buclaw: fix Issue 22063 - importC: Error: undefined identifier 'var' with pointer-to-typedef type https://github.com/dlang/dmd/pull/12724