aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/float_division_int_stored.zc
blob: c105e0b9da96b5af3073e024fc390511da8648c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// expect: 3.000000/0.500000/
include rt;
fn pf(x) { asm { x @ #1220 } rt.put_c(10); return 0; }
fn main() {
	float r = 7 / 2;
	pf(r);
	float s = 1 / 2.0;
	pf(s);
	return 0;
}