aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/86-struct-init.expect
Commit message (Collapse)AuthorAgeFilesLines
* struct-init: CleanupMichael Matz2016-12-151-0/+1
| | | | | | | Remove dead code and variables. Properly check for unions when skipping fields in initializers. Make tests2/*.expect depend on the .c files so they are automatically rebuilt when the latter change.
* struct-init: Implement initializing subaggregatesMichael Matz2016-12-151-0/+27
E.g. "struct { struct S s; int a;} = { others, 42 };" if 'others' is also a 'struct S'. Also when the value is a compound literal. See added testcases.