t6.6.3.1-5.p

来自「早期freebsd实现」· P 代码 · 共 30 行

P
30
字号
{TEST 6.6.3.1-5, CLASS=CONFORMANCE}{ When a procedure (or function) with a parameter list is  included in the formal parameter list of another procedure  (or function), the identifiers in the parameter list of the  procedure parameter have defining occurences for that list  and the corresponding block for the procedure only, and not  for the block of the procedure to which it is passed.  The example in this program should be passed by the compiler. }program t6p6p3p1d5(output);var   i : integer;procedure alsoconforms(x : integer);begin   writeln(' PASS...6.6.3.1-5')end;procedure conforms(procedure alsoconforms(x : integer));   var x : boolean;begin   x:=true;   alsoconforms(1)end;begin   i:=2;   conforms(alsoconforms)end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?