https://issues.dlang.org/show_bug.cgi?id=22018
Issue ID: 22018
Summary: pragma(inline) parameter not checked when the pragma
is a declaration
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
no error is emitted for the following code
---
pragma(inline, INVALID);
void v(){}
---
The scenario is that the semicolon is a typo.
--
