Skip to content

Commit

Permalink
add missing files to simple-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Mar 6, 2011
1 parent 4aa53ab commit 7cc8c06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions simple-tests/infix.t
@@ -0,0 +1,5 @@
say "1..1";
sub infix:<=>($, $say) { say $say }
my $foo;
$foo = "ok 1";

8 changes: 8 additions & 0 deletions simple-tests/parcel-arg.t
@@ -0,0 +1,8 @@
say "1..2";
sub foo(\$arg) {
say $arg;
$arg = "ok 2";
}
my $ok = "ok 1";
foo($ok);
say $ok;

0 comments on commit 7cc8c06

Please sign in to comment.