Skip to content

Commit

Permalink
Tests for #101450
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Nov 12, 2011
1 parent e25f148 commit 2a83aa9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S02-types/native.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 23;
plan 25;

{
my int $x;
Expand Down Expand Up @@ -84,4 +84,12 @@ plan 23;
is slurpy($i, $s), '42 roads', 'can bind native vars to slurpy arrays';
}

# RT #101450
{
my int $x;
my num $y;
is $x, 0, '#101450';
is $y, NaN, '#101450';
}

# vim: ft=perl6

0 comments on commit 2a83aa9

Please sign in to comment.