blob: fbce7fe941f206c877a83793ee9002f8f42618fd [file] [log] [blame]
/* PR middle-end/28683 */
extern void foo (int *);
struct A
{
int f;
};
struct A *
test (struct A *r)
{
int *f = &r->f;
static int i = 0;
if (!i && !((void *) f == (void *) r))
foo (&i);
return r;
}