parent
5971c4a0a1
commit
3aaa73020d
2 changed files with 76 additions and 8 deletions
|
|
@ -241,6 +241,13 @@ struct [[r]] r
|
|||
[[r]]
|
||||
r();
|
||||
};
|
||||
|
||||
// type defined inline
|
||||
struct [[inline_type]] inline_type
|
||||
{
|
||||
[[field]] int field;
|
||||
}
|
||||
[[s]] s;
|
||||
)";
|
||||
|
||||
auto file = parse({}, "cpp_attribute__matching.cpp", code);
|
||||
|
|
@ -268,5 +275,5 @@ struct [[r]] r
|
|||
|
||||
return true;
|
||||
});
|
||||
REQUIRE(count == 40u);
|
||||
REQUIRE(count == 43u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue