Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20041212-1.c
blob: ea2d0fbd78e9fed18b913e26a545b47c560c2291 [
file
] [
log
] [
blame
]
/* A function pointer compared with a void pointer should not be canonicalized.
See PR middle-end/17564. */
void
*
f
(
void
)
__attribute__
((
__noinline__
));
void
*
f
(
void
)
{
return
f
;
}
int
main
(
void
)
{
if
(
f
()
!=
f
)
abort
();
exit
(
0
);
}