https://issues.dlang.org/show_bug.cgi?id=12924
--- Comment #2 from [email protected] --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4b2578e208f2af9a02159fc2d8d87fb17b09005e fix Issue 12924 - deprecated("foo"); and deprecated; should not compile 'DeclarationBlock' that follows 'Attribute' should be parsed by parseBlock. `PrefixAttribute` is used to check redundant/conflicting attributes over the mutual call between `parseDeclDefs` and `parseBlock`. https://github.com/D-Programming-Language/dmd/commit/77f4e95af6cf1fd2dd80902ec122a23f1358fd1f Merge pull request #3676 from 9rnsr/fix12924 [REG2.066a] Issue 12924 - deprecated("foo"); and deprecated; should not compile --
