Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
algol68
/
execute
/
proc-25.a68
blob: 5b46e8914e6fb6e7c139676191b4be5cb4c4af2c [
file
]
# { dg-options "-fstropping=upper" } #
BEGIN
PROC increment
:=
(
INT a
)
INT
:
a
+
1
;
PROC getproc
:=
PROC
(
INT
)
INT
:
BEGIN
increment
END
;
# getproc below gets deprocedured to yield increment. #
ASSERT
(
getproc
(
10
)
=
11
)
END