module mod4 { prefix abc; namespace "urn:cesnet:mod4"; leaf circle { type leafref { path ../circle; // circular chain of leafrefs } } }