root/t/unspecced/tailcall.t

Revision 20490, 422 bytes (checked in by Auzon, 8 months ago)

s/use v6-alpha;$/use v6;/;
Also catching a few other mentions of v6-alpha.

  • Property svn:mime-type set to text/plain; charset=UTF-8
  • Property svn:eol-style set to native
Line 
1use v6;
2
3
4say "1..3";
5
6sub foo () {
7    say "ok 2";
8    &baz.nextwith("param1", "param2");
9}
10
11sub bar ($param1, $param2) {
12    if $param1 eq "param1" and $param2 eq "param2" {
13        say "ok 1";
14    } else {
15        say "not ok 1";
16    }
17}
18
19sub baz ($param1, $param2) {
20    if $param1 eq "param1" and $param2 eq "param2" {
21        say "ok 3";
22    } else {
23        say "not ok 3";
24    }
25}
26
27bar("param1", "param2");
28foo();
Note: See TracBrowser for help on using the browser.