27 lines
554 B
Plaintext
27 lines
554 B
Plaintext
type rec: [character: x; integer: y]
|
|
|
|
type T2: rec -> integer
|
|
|
|
type main: string -> integer
|
|
function entry: main
|
|
function bar: T2
|
|
|
|
bar (r,s) := {
|
|
return 0;
|
|
}
|
|
|
|
entry (arg) := {
|
|
[ Boolean:x ; Boolean:y ; Boolean:z ; Boolean:t]
|
|
if ( !( x < y ) & ( z & t ) ) then {
|
|
(* if ( result < w.y ) then {
|
|
result := 8;
|
|
} else {
|
|
result := 9;
|
|
} *)
|
|
z := t;
|
|
} else {
|
|
y := true; (* bar('c', 7); *)
|
|
}
|
|
return 0;
|
|
}
|