Commit 0d204c2d by Richard Henderson

New test.

From-SVN: r47589
parent 87d4ad08
/* { dg-do link } */
/* { dg-options "-O2" } */
struct S {
int a[3];
int x;
};
extern void link_error(void);
static int i;
int main()
{
struct S s;
s.x = 0;
s.a[i] = 1;
if (s.x != 0)
link_error ();
return 0;
}
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