repo.or.cz
/
pugs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[t/spec] Add tricky tests (which pass after latest Rakudo patch), unfudge old simple...
[pugs.git]
/
t
/
01-sanity
/
07-binding.t
blob
423bf0fb3a87ddd3752ff41bc78c8ee662ad1723
1
use v6;
2
3
4
say "1..3";
5
6
my $a = 42;
7
my $b := $a;
8
9
if $b == $a { say "ok 1" } else { say "not ok 1" }
10
11
$b = 23;
12
if $a == 23 { say "ok 2" } else { say "not ok 2" }
13
14
$a = 17;
15
if $b == 17 { say "ok 3" } else { say "not ok 3" }