http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503
Bug ID: 60503
Summary: gcc looks for C++ attributes in the wrong place in a
lambda-expression
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: richard-gccbugzilla at metafoo dot co.uk
GCC accepts this ill-formed code:
void f() { []() [[ ]] mutable noexcept {}; }
... and rejects this valid code:
void f() { []() mutable noexcept [[ ]] {}; }
