Debian Codegraph @

gcc/testsuite/gm2/pim/pass/goodprocint.mod

raw
1 MODULE goodprocint ;
2
3 FROM NumberIO IMPORT WriteCard ;
4 FROM StrIO IMPORT WriteString, WriteLn ;
5
6 PROCEDURE func () : INTEGER ;
7 BEGIN
8 RETURN 42
9 END func ;
10
11 BEGIN
12 WriteString ('the value is: ') ; WriteCard (func (), 5) ; WriteLn
13 END goodprocint.