Repository navigation
Commit c4d6453
committed
test(extract): an anonymous C typedef aggregate is one definition
Regression test for the merge with DeusData#2458: with its extract_class_def case restored, typedef struct { int count; } Tally; yields two Class defs named Tally (count_defs_named == 2, RED at test_extraction.c:1129); with the case removed it is one Class, one count field, one Shade enum, and no variants list (extraction 432 passed).
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent d64f7e5 commit c4d6453
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1119 | 1142 | | |
1120 | 1143 | | |
1121 | 1144 | | |
| |||
10405 | 10428 | | |
10406 | 10429 | | |
10407 | 10430 | | |
| 10431 | + | |
10408 | 10432 | | |
10409 | 10433 | | |
10410 | 10434 | | |
| |||
0 commit comments