xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_122.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_122.c,v 1.5 2022/06/16 16:58:36 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 int
7 example(int x)
8 {
9 	/* expect+1: warning: shift amount 129 is greater than bit-size 32 of 'int' [122] */
10 	return x << 129;
11 }
12