blob: 35deb096a6575617f9e80baa429b0dfad2be58e8 [file] [log] [blame]
/* { dg-do compile } */
#include <stdarg.h>
void foo(int, ...)
{
va_list va;
int i;
i = va_arg(va, int&); /* { dg-error "cannot receive" } */
}