blob: f3df99a7200d58169c4c76356442980d1824e130 [file] [log] [blame]
/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
/* { dg-options "-O2 -fdump-ipa-comdats" } */
#include <stdio.h>
__attribute__ ((noinline))
static int q(void)
{
return printf ("test");
}
inline int t(void)
{
return q();
}
int (*f)()=t;
/* { dg-final { scan-ipa-dump-times "Localizing symbol" 1 "comdats" } } */