Page MenuHomePhabricator

Add an example showing the alternative to nested designators
Needs ReviewPublic

Authored by shafik on Wed, Oct 9, 12:38 PM.

Details

Reviewers
rsmith
Summary

We have an example showing that a nested designators are a c99 extension but not an example showing how to achieve the same thing using a brace-init-list in a designated-initializer-clause.

Diff Detail

Event Timeline

shafik created this revision.Wed, Oct 9, 12:38 PM