Commit 3f8882a2 by Joseph Myers Committed by Joseph Myers

* objc.dg/desig-init-2.m: New test.

From-SVN: r90459
parent 0676d237
2004-11-10 Joseph S. Myers <joseph@codesourcery.com>
* objc.dg/desig-init-2.m: New test.
2004-11-10 Adam Nemet <anemet@lnxw.com> 2004-11-10 Adam Nemet <anemet@lnxw.com>
PR middle-end/18160 PR middle-end/18160
......
/* Test handling of C99 designator lists in Objective-C. Test array
designators after structure member designators. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
struct s { int a[2]; } x = { .a[0] = 1 };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment