Skip to content

Instantly share code, notes, and snippets.

@bdw
Created Nov 17, 2018
Embed
What would you like to do?
#!/usr/bin/env nqp
sub foo(int64 $x) {
my int16 $y := $x;
my int64 $z := $y;
return $z;
}
my int $i := 0;
while ($i++ < 100_000) {
if (foo(100_000) != -31072) {
nqp::die("ERROR");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment