blob: 5bc2c170124b27abc331c493f4b44f63ef49f3a5 [file] [log] [blame]
module mod5 {
prefix abc;
namespace "urn:cesnet:mod5";
typedef my-base-int32-type {
type int32 {
range "1..4 | 10..20";
}
}
typedef my-type1 {
type my-base-int32-type {
// legal range restriction
range "11..max"; // 11..20
}
}
typedef my-type2 {
type my-base-int32-type {
// illegal range restriction
range "11..100";
}
}
}