summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/usr.bin/xlint/lint1/d_type_conv2.c
blob: 7c2e1f478ecd742c308667bc6e207781a011dee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Flag information-losing type conversion in argument lists */

int f(float);

void
should_fail()
{
	double x = 2.0;

	f(x);
}
OpenPOWER on IntegriCloud