ORCA-C/Tests
Stephen Heumann 99e268e3b9 Implement support for anonymous structures and unions (C11).
Note that this implementation allows anonymous structures and unions to participate in initialization. That is, you can have a braced initializer list corresponding to an anonymous structure or union. Also, anonymous structures within unions follow the initialization rules for structures (and vice versa).

I think the better interpretation of the standard text is that anonymous structures and unions cannot participate in initialization as such, and instead their members are treated as members of the containing structure or union for purposes of initialization. However, all other compilers I am aware of allow anonymous structures and unions to participate in initialization, so I have implemented it that way too.
2022-10-16 18:44:19 -05:00
..
Conformance Implement support for anonymous structures and unions (C11). 2022-10-16 18:44:19 -05:00
Deviance Fix type checking and result type computation for ? : operator. 2022-06-23 22:05:34 -05:00
Spec.Conform Consistently use upper-case filenames for existing test cases. 2021-07-09 19:43:57 -05:00
Spec.Deviance Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00