raz
/
conform
/
err
/ PassOnTypes.raz
about
files
log
releases
feed
19 lines · 237 B ·
raw
·
history
· last change
1d7484fe
1
module
PassOnTypes;
2
3
proc
two(n:
I64
): (
I64
,
BOOL
);
4
begin
5
return
n, n =
0
;
6
end
;
7
8
proc
swapped(n:
I64
): (
BOOL
,
I64
);
9
begin
10
return
two(n);
11
end
;
12
13
proc
main*;
14
var
b:
BOOL
; i:
I64
;
15
begin
16
b, i := swapped(
1
);
17
end
;
18
19
end
PassOnTypes.