aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/always_inline.c
blob: 482a0a2b46c6509422ad18fa33c1d0e05821bb56 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2" } */
#include <stdarg.h>
inline __attribute__ ((always_inline)) void
e(int t, ...) /* { dg-error "variable argument lists" } */
{
  va_list q;
  va_start (q, t);
}