https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116

Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard-gccbugzilla@metafoo
                   |                            |.co.uk

--- Comment #3 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
This is a GCC bug (or extension). Expression / declaration disambiguation is
purely syntactic, and 'int(::x);' conforms to the grammar for a
simple-declaration.

I've also reported the bug to EDG.

Reply via email to