3.2 critical bug?

Nathan Sidwell nathan@codesourcery.com
Thu Oct 24 05:55:00 GMT 2002


Stefano Barbato wrote:
> this seem to be a bug, hope I'm not missing something:

> int main()
> {
>         test p(type_2());
// a declaration of a fn called 'p' returning a test and taking a type_2

> 
> why this compiles without errors!?
because it is well formed.





-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
          'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org




More information about the Gcc-bugs mailing list