------- Comment #3 from schaub-johannes at web dot de 2010-01-08 03:35 ------- The following are two other cases where GCC misses to drop qualifiers
typedef int const intt; unused(intt()); // intt has type 'int' int const f(); unused(f()); // f() has type 'int' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42655