https://issues.dlang.org/show_bug.cgi?id=22180
Issue ID: 22180
Summary: .alignof not working for globals
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
align(8) int x;
pragma(msg, x.alignof);
aligns x correctly on 8 bytes, but the msg prints "4".
--
