summaryrefslogtreecommitdiff
path: root/Test/floats/float2.bpl
blob: ed9e60f08a2abecb54b3e1b1c9a191a92cea3cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %boogie -proverWarnings:1 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
procedure foo(x : float11e5) returns(r : float24e8) {
	var y : float53e11;
	var z : float113e15;
	
	r := x; // Error
	r := y; // Error
	r := z; // Error
	y := x; // Error
	y := z; // Error
	z := x; // Error

	return;
}