Add and parse unexposed entity
This commit is contained in:
parent
d18070a799
commit
df684694cc
8 changed files with 94 additions and 2 deletions
|
|
@ -32,7 +32,8 @@ enum class bar
|
|||
void func(int(*)(int));
|
||||
|
||||
extern void(* ptr)(int(*)(int))=&func;
|
||||
)";
|
||||
|
||||
template<typename T>int var;)";
|
||||
|
||||
auto file = parse({}, "code_generator.cpp", code);
|
||||
REQUIRE(get_code(*file) == code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue