23 lines
430 B
Plaintext
23 lines
430 B
Plaintext
(* TEST: [-st] *)
|
|
type main: string -> integer
|
|
function entry: main
|
|
type testarr : 1 -> integer
|
|
|
|
entry (arg) := {
|
|
[integer:x; testarr: arr; testarr: arr2; Boolean : b2; Boolean : b1]
|
|
|
|
x := 3 + 2 * 8;
|
|
x := 3 - 2 / 8;
|
|
x := 3 * 2 % 8;
|
|
x := 3 * 2 % 8;
|
|
x := 3 % 2 * 8;
|
|
x := 3 + 2 - 8;
|
|
|
|
arr2 := 1 * reserve x;
|
|
arr2 := release x;
|
|
b2 := 3 < 2;
|
|
b1 := 1 = 2;
|
|
b2 := !(3 < 2);
|
|
b1 := 6<7 & 7=7;
|
|
}
|