1 /* { dg-do compile } */ 2 3 /* We used to ICE for this with type-checking enabled. */ 4 5 typedef signed short gint16; 6 typedef unsigned short guint16; dissect_old_pflog(gint16 rnr)7gint16 dissect_old_pflog(gint16 rnr) 8 { 9 return (guint16) ((guint16) ((guint16)rnr >> 8) | (guint16) ((guint16)rnr << 8)); 10 } 11