OSDN Git Service

b183770adc005753ee996cbfa955cb386fbae89e
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / always_inline3.c
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2" } */
3 inline __attribute__ ((always_inline)) void
4 q2(void)
5 {                               /* { dg-error "recursive" "" } */
6   q2();                         /* { dg-error "called from here" "" } */
7   q2();                         /* { dg-error "called from here" "" } */
8 }