### ----------------------------------------------------
### -- ASN::META
### -- Licenses: Artistic-2.0
### -- Authors: Alexander Kiryuhin <alexander.kiryuhin@gmail.com>
### -- File: t/01-recursive-type.t
### ----------------------------------------------------
use ASN::META BEGIN { 'file', slurp 't/test2.asn' };
use Test;

ok Filter.new((not => Filter.new((number => 15)))).defined, "Recursive type is defined";

ok A.new(b => Filter.new((number => 15))), "Parent reference is updated";

ok Top.new(a => A.new(b => Filter.new((number => 15)))), "Grand parent reference is updated";

done-testing;


