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