xref: /illumos-gate/usr/src/tools/smatch/src/validation/linear/fp-vs-ptrcast.c (revision c85f09cc92abd00c84e58ec9f0f5d942906cb713)

f01(void * p)1*c85f09ccSJohn Levon float *f01(void* p)
2*c85f09ccSJohn Levon {
3*c85f09ccSJohn Levon 	return p;
4*c85f09ccSJohn Levon }
5*c85f09ccSJohn Levon 
6*c85f09ccSJohn Levon /*
7*c85f09ccSJohn Levon  * check-name: fp-vs-ptrcast
8*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
9*c85f09ccSJohn Levon  * check-output-ignore
10*c85f09ccSJohn Levon  *
11*c85f09ccSJohn Levon  * check-output-excludes: fpcast
12*c85f09ccSJohn Levon  * check-output-contains: ptrcast
13*c85f09ccSJohn Levon  */
14