Use empty underlying type for aliases of anonymous types (#83)
Fixes #58
This commit is contained in:
parent
55221f1536
commit
a89ebcdf0a
2 changed files with 2 additions and 2 deletions
|
|
@ -509,7 +509,7 @@ typedef decltype(0) w;
|
|||
}
|
||||
else if (alias.name() == "v")
|
||||
{
|
||||
auto type = cpp_user_defined_type::build(cpp_type_ref(cpp_entity_id(""), "v"));
|
||||
auto type = cpp_user_defined_type::build(cpp_type_ref(cpp_entity_id(""), ""));
|
||||
REQUIRE(equal_types(idx, alias.underlying_type(), *type));
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue