☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020129-1.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/20020129-1.c
code
plain
raw
1
/* Test call to static variable. */
2
3
/* { dg-require-effective-target indirect_calls } */
4
5
typedef struct
6
{
7
long long a[10];
8
} A;
9
10
void bar (A *);
11
12
typedef int (*B)(int);
13
14
void foo (void)
15
{
16
static A a;
17
bar (&a);
18
(*(B)&a) (1);
19
}