xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_complex_num.c (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1*57718be8SEnji Cooper double cabs(double _Complex);
2*57718be8SEnji Cooper 
cabs(double _Complex foo)3*57718be8SEnji Cooper double cabs(double _Complex foo)
4*57718be8SEnji Cooper {
5*57718be8SEnji Cooper 	double d = __real__ foo;
6*57718be8SEnji Cooper 	return d + 0.1fi;
7*57718be8SEnji Cooper }
8