summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/always_inline.c
blob: 08119f1a254cef93b3a7d39f3b3f7946cecac3a4 (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);
}