aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/always_inline2.c
blob: 4f1634e13488d7c838f01621bda1939302f01441 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2" } */
inline __attribute__ ((always_inline)) void t(void); /* { dg-error "body not available" } */
void
q(void)
{
  t(); 				/* { dg-error "called from here" } */
}