### ----------------------------------------------------
### -- Scalar::Util
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/reftype.t
### ----------------------------------------------------
use v6.*;

use Scalar::Util <reftype>;
use Test;

plan 4;

ok defined(&reftype), 'reftype defined';

my @a;
my %h;

is reftype(@a), 'ARRAY', 'is reftype of @a an ARRAY';
is reftype(%h), 'HASH',  'is reftype of %h a HASH';
is reftype(42), Nil,     'is reftype of 42 Nil';

# vim: expandtab shiftwidth=4


