Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr27758.c @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR target/27758 */ /* { dg-do run { target fpic } } */ /* { dg-options "-O0 -fpic" } */ typedef int (*fn) (void); static inline int foo (void) { return 1; } fn test (void) { return foo; } int main (void) { fn f = test (); return f () != 1; }