Add semantic parent to forward declarable entities

This commit is contained in:
Jonathan Müller 2017-04-14 16:44:25 +02:00
commit 599f2bbff8
20 changed files with 260 additions and 109 deletions

View file

@ -70,11 +70,14 @@ class e
namespace ns
{
/// struct base{
/// };
struct base {};
/// struct base;
struct base;
}
/// struct ns::base{
/// };
struct ns::base {};
/// struct f
/// :ns::base,virtual protected e{
/// };
@ -296,5 +299,5 @@ struct g
else
REQUIRE(false);
});
REQUIRE(count == 11u);
REQUIRE(count == 12u);
}