view gcc/testsuite/gcc.dg/lto/20091006-1_0.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-lto-do link } */

typedef void (*fnt) (void);
void __attribute__((noinline)) bar (void) {}
extern inline void __attribute__((gnu_inline)) check3 (void)
{
    bar ();
}
void test (void) 
{
    const fnt pcheck3 = check3;
    pcheck3 ();
}
int main() { return 0; }