https://issues.dlang.org/show_bug.cgi?id=12953
Issue ID: 12953
Summary: Wrong alignment number in error messages
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
This code:
align align void f1() {}
align align(1) void f2() {}
align(1) align void f2() {}
Will print following errors:
test.d(1): Error: redundant alignment attribute align(-1)
test.d(2): Error: conflicting alignment attribute align(-1) and align(1)
test.d(3): Error: conflicting alignment attribute align(1) and align(-1)
align(-1) is wrong.
--