xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_267.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_267.c,v 1.3 2021/04/09 16:37:18 rillig Exp $	*/
2 # 3 "msg_267.c"
3 
4 // Test for message: shift equal to size of object [267]
5 
6 int
7 shr32(unsigned int x)
8 {
9 	return x >> 32;		/* expect: 267 */
10 }
11 
12 int
13 shl32(unsigned int x)
14 {
15 	return x << 32;		/* expect: 267 */
16 }
17