https://issues.dlang.org/show_bug.cgi?id=23394
Issue ID: 23394
Summary: Multiple pragma(startaddress) does not result in error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This came up in https://github.com/dlang/dmd/pull/14512#discussion_r985554928
No pressure in fixing this since the feature is rarely used, but:
```
void f() {}
void g() {}
pragma(startaddress, f);
pragma(startaddress, g);
```
Should raise an error.
--