18 lines
287 B
Text
18 lines
287 B
Text
|
# -*- perl -*-
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
use tests::tests;
|
||
|
check_expected ([<<'EOF']);
|
||
|
(exec-arg) begin
|
||
|
(args) begin
|
||
|
(args) argc = 2
|
||
|
(args) argv[0] = 'child-args'
|
||
|
(args) argv[1] = 'childarg'
|
||
|
(args) argv[2] = null
|
||
|
(args) end
|
||
|
child-args: exit(0)
|
||
|
(exec-arg) end
|
||
|
exec-arg: exit(0)
|
||
|
EOF
|
||
|
pass;
|