http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56980 --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-16 15:34:56 UTC --- while the C++ pretty-printer can: pr56980.c:4:16: error: invalid operands of types ‘B* {aka A*}’ and ‘B* {aka A*}’ to binary ‘operator>>’ int y = x >> x; ^