Add semantic parent to forward declarable entities
This commit is contained in:
parent
cf7ea80768
commit
599f2bbff8
20 changed files with 260 additions and 109 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue