1 /* $NetBSD: msg_122.c,v 1.6 2023/07/07 19:45:22 rillig Exp $ */ 2 # 3 "msg_122.c" 3 4 // Test for message: shift amount %llu is greater than bit-size %llu of '%s' [122] 5 6 /* lint1-extra-flags: -X 351 */ 7 8 int example(int x)9example(int x) 10 { 11 /* expect+1: warning: shift amount 129 is greater than bit-size 32 of 'int' [122] */ 12 return x << 129; 13 } 14