From 37be90bd962d4b7b3c92bb2f10c57eaf4c160e79 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Mon, 9 Sep 2019 11:12:27 -0400 Subject: [PATCH] Add another test for function pointers which should be ignored. --- test/system/test_compilation/parsing.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/system/test_compilation/parsing.h b/test/system/test_compilation/parsing.h index aaf5d47..9ff790d 100644 --- a/test/system/test_compilation/parsing.h +++ b/test/system/test_compilation/parsing.h @@ -61,3 +61,15 @@ struct struct_to_be_ignored { } variant; void (*a_function_pointer_in_a_struct)(void *); }; + +typedef struct +{ + uint32_t a; + struct + { + uint32_t bb; + float bc; + float bd; + } b; + int (*another_function_pointer_in_a_struct) (void); +} another_thing_that_should_get_ignored;