Parse cpp_namespace

This commit is contained in:
Jonathan Müller 2017-02-22 10:33:27 +01:00
commit 7e1ef01105
2 changed files with 10 additions and 2 deletions

View file

@ -41,8 +41,7 @@ namespace c
}
else if (ns.name() == "d")
{
REQUIRE(ns.parent());
REQUIRE(ns.parent().value().name() == "c");
check_parent(ns, "c", "c::d");
REQUIRE(!ns.is_inline());
REQUIRE(no_children == 0u);
}