ContainedSubtype support


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@822 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/16-constraint-OK.asn1 b/tests/16-constraint-OK.asn1
index 5625d7f..50ee2e2 100644
--- a/tests/16-constraint-OK.asn1
+++ b/tests/16-constraint-OK.asn1
@@ -12,11 +12,15 @@
 BEGIN
 
 	-- external reference
-	Type1 ::= IA5String (SIZE(1..10,...))(FROM("a".."z"|"#"))
+	Type0 ::= IA5String (Type6)
+	Type1 ::= IA5String (SIZE(1..ten,...))(FROM("a".."z"|"#",...))
 	Type2 ::= IA5String (SIZE (MIN..4)|FROM ("abc"))
 	Type3 ::= BMPString (SIZE(1))
 	Type4 ::= INTEGER (1..MAX)
 	Type5 ::= BOOLEAN (TRUE|FALSE)
+	Type6 ::= IA5String (Type1)
+
+	ten INTEGER ::= 10
 
 	v1 Type1 ::= "#value wi
 		th ""double quotes"""