summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/always_inline.c
blob: 3233741896af032312a15c3f1b8199ea537fd355 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-Winline -O2" } */
#include <stdarg.h>
inline __attribute__ ((always_inline)) void
e(int t, ...)
{				/* { dg-message "sorry\[^\n\]*variable argument" "" } */
  va_list q;
  va_start (q, t);
}