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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
calls-void.c
blob
eeed4fdfdc1d125867335d2ba1b99de71c455ed8
1
/* { dg-require-effective-target ptr32plus } */
2
/* { dg-require-effective-target untyped_assembly } */
3
4
typedef
void
(*
T
)(
void
);
5
f1
()
6
{
7
((
T
)
0
)();
8
}
9
f2
()
10
{
11
((
T
)
1000
)();
12
}
13
f3
()
14
{
15
((
T
)
10000000
)();
16
}
17
f4
(
r
)
18
{
19
((
T
)
r
)();
20
}
21
f5
()
22
{
23
int
(*
r
)() =
f3
;
24
((
T
)
r
)();
25
}