Made sure that we can get field names from structs declared inside functions or unnamed namespaces; #46

This commit is contained in:
Patrick Urbanke
2024-01-07 23:05:39 +01:00
parent 30adc5c614
commit 696289dbf2
10 changed files with 215 additions and 46 deletions
+4
View File
@@ -29,6 +29,7 @@
#include "test_flatten.hpp"
#include "test_flatten_anonymous.hpp"
#include "test_forward_list.hpp"
#include "test_inside_function.hpp"
#include "test_list.hpp"
#include "test_literal.hpp"
#include "test_literal_map.hpp"
@@ -61,6 +62,7 @@
#include "test_timestamp.hpp"
#include "test_unique_ptr.hpp"
#include "test_unique_ptr2.hpp"
#include "test_unnamed_namespace.hpp"
#include "test_unordered_map.hpp"
#include "test_unordered_multimap.hpp"
#include "test_unordered_multiset.hpp"
@@ -111,6 +113,8 @@ int main() {
test_result::test();
test_anonymous_fields::test();
test_monster_example::test();
test_unnamed_namespace::test();
test_inside_function::test();
test_custom_class1::test();
test_custom_class2::test();