------- Comment #4 from redi at gcc dot gnu dot org  2010-04-29 13:34 -------
That example 'f' is equivalent to this, which also compiles:

int* g(bool b) { return int(b ? 0 : 0); }

that's /definitely/ wrong


-- 


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

Reply via email to