1*c85f09ccSJohn Levon #include "optim/cast-kinds.c"
2*c85f09ccSJohn Levon 
3*c85f09ccSJohn Levon /*
4*c85f09ccSJohn Levon  * check-name: cast-kinds check
5*c85f09ccSJohn Levon  * check-command: sparse -m64 -v -Wno-pointer-to-int-cast $file
6*c85f09ccSJohn Levon  * check-assert: sizeof(long) == 8
7*c85f09ccSJohn Levon  *
8*c85f09ccSJohn Levon  * check-error-start
9*c85f09ccSJohn Levon optim/cast-kinds.c:5:45: warning: cast drops bits
10*c85f09ccSJohn Levon optim/cast-kinds.c:6:47: warning: cast drops bits
11*c85f09ccSJohn Levon optim/cast-kinds.c:7:46: warning: cast drops bits
12*c85f09ccSJohn Levon optim/cast-kinds.c:8:45: warning: cast drops bits
13*c85f09ccSJohn Levon optim/cast-kinds.c:12:48: warning: cast drops bits
14*c85f09ccSJohn Levon optim/cast-kinds.c:13:50: warning: cast drops bits
15*c85f09ccSJohn Levon optim/cast-kinds.c:14:49: warning: cast drops bits
16*c85f09ccSJohn Levon optim/cast-kinds.c:15:48: warning: cast drops bits
17*c85f09ccSJohn Levon optim/cast-kinds.c:37:48: warning: non size-preserving integer to pointer cast
18*c85f09ccSJohn Levon optim/cast-kinds.c:38:50: warning: non size-preserving integer to pointer cast
19*c85f09ccSJohn Levon  * check-error-end
20*c85f09ccSJohn Levon  */
21