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
/
20080721-1.c
blob
6c928f55ca103ec7b52648b759d9bdddb227fdb7
1
/* { dg-skip-if "can't read function data" { nvptx-*-* } } */
2
void
foo
(
void
);
3
void
bar
(
void
);
4
5
int
test
(
int
b
)
6
{
7
void
*
p
, **
q
;
8
if
(
b
)
9
p
= (
void
*)
foo
;
10
else
11
p
= (
void
*)
bar
;
12
q
= (
void
**)
p
;
13
if
(*
q
== (
void
*)
0
)
14
return
1
;
15
return
0
;
16
}