summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/always_inline2.c
blob: c65df24ea601e6bf7130dca20b9c6a9991701990 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-Winline -O2" } */
inline __attribute__ ((always_inline)) void t(void); /* { dg-message "sorry\[^\n\]*body not available" "" } */
void
q(void)
{
  t(); 				/* { dg-message "sorry\[^\n\]*called from here" "" } */
}