Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
algol68
/
execute
/
proc-23.a68
blob: 7fa1257eca7aeb6099868d6a8e1f5fad040e060c [
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