Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33697.c
blob8c5edb65853341b761c0fe968ecc2c80bfdd2934
1 /* { dg-do compile } */
3 /* We used to ICE for this with type-checking enabled. */
5 typedef signed short gint16;
6 typedef unsigned short guint16;
7 gint16 dissect_old_pflog(gint16 rnr)
9 return (guint16) ((guint16) ((guint16)rnr >> 8) | (guint16) ((guint16)rnr << 8));