repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libstdc++: Define __glibcxx_assert_fail for non-verbose build [PR115585]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020129-1.c
blob
c14ac07655ed02738429bf75029db33c30a30f24
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
}