------- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-03 21:30 -------
The code is invalid, the related C testcase:
union a { void *g; };
void f(union a);
void g(int *b)
{
  f((union a)b);
}

Which is rejected everywhere.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24180

Reply via email to