> won't they mark all

No. The 'no new scope' thing with version { } applies to the semantic phase, while which declarations an attribute applies to is fixed by the parser.