xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_constant_conv1.c (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1*57718be8SEnji Cooper /* Flag information-losing constant conversion in argument lists */
2*57718be8SEnji Cooper 
3*57718be8SEnji Cooper int f(unsigned int);
4*57718be8SEnji Cooper 
5*57718be8SEnji Cooper void
should_fail()6*57718be8SEnji Cooper should_fail()
7*57718be8SEnji Cooper {
8*57718be8SEnji Cooper 	f(-1);
9*57718be8SEnji Cooper }
10