blob: c14ac07655ed02738429bf75029db33c30a30f24 [file] [log] [blame]
/* Test call to static variable. */
/* { dg-require-effective-target indirect_calls } */
typedef struct
{
long long a[10];
} A;
void bar (A *);
typedef int (*B)(int);
void foo (void)
{
static A a;
bar (&a);
(*(B)&a) (1);
}