Skip to content

Commit

Permalink
add todo test for RT #130267
Browse files Browse the repository at this point in the history
my CArray[uint8] $a .= new(200 xx 16);
say $a[0];    # expected output: 200, actual output: -56
  • Loading branch information
dwarring committed Apr 10, 2017
1 parent 6c9f31b commit 5cdea61
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion t/04-nativecall/05-arrays.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use CompileTestLib;
use NativeCall;
use Test;

plan 38;
plan 39;

compile_test_lib('05-arrays');

Expand Down Expand Up @@ -152,4 +152,11 @@ compile_test_lib('05-arrays');
'creating CArray with one Positional positional works';
}

# RT #130267
{
my CArray[uint8] $a .= new(200 xx 16);
todo "RT #130267";
is $a[0], 200, 'unsigned uint8 value';
}

# vim:ft=perl6

0 comments on commit 5cdea61

Please sign in to comment.