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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Shafik Yaghmour from comment #0)
> as far as I can tell both gcc 4.8.x and clang are correct here based on my
> reading of section 8.3 paragraph 6:
> 
> int(::x) ;
> 
> is equivalent to:
> 
> int ::x ;
> 
> which is not valid.

Current G++ and EDG both treat it as the valid expression (int)::x

Reply via email to