The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use warnings;
use strict;

use Test::More tests => 4;

my($t, $n);
$n = 5;

use XS::APItest::KeywordRPN qw(rpn);
$t = rpn($n
	 $n 1 +
		* #wibble
#wobble
2
		/
);
is $t, 15;
is __LINE__, 18;

$t = 0;
$t = rpn($n $n 1 + *
#line 100
	2 /);
is $t, 15;
is __LINE__, 102;

1;