xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_122.c (revision aef5eb5f59cdfe8314f1b5f78ac04eb144e44010)
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