1# -*- mode: perl; -*-
2
3# use Module(); doesn't call import() - thanx for cpan testers David. M. Town
4# and Andreas Marcel Riechert for spotting it. It is fixed by the same code
5# that fixes require Math::BigInt, but we make a test to be sure it really
6# works.
7
8use strict;
9use warnings;
10
11use Test::More tests => 1;
12
13my $x;
14
15use Math::BigInt ();
16$x = Math::BigInt->new(1);
17++$x;
18
19is($x, 2, '$x = Math::BigInt->new(1); ++$x;');
20