OSDN Git Service

2006-12-19 Eric Christopher <echristo@apple.com>
[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 }