Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
indirect_call.c
blob: 39992a7137b4529e9fa91f7836d18ed9b00f7ac4 [
file
] [
log
] [
blame
]
/* { dg-options "-O2 -msoft-stack" } */
/* { dg-do run } */
int
f1
(
int
a
)
{
return
a
+
1
;
}
int
(*
f2
)(
int
)
=
f1
;
int
main
()
{
if
(
f2
(
100
)
!=
101
)
__builtin_abort
();
return
0
;
}