summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/var_copy-1.C
blob: 2fc6b780e18a7157231d7e4a43d467272e54deda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-options "-std=c++0x" }
// { dg-do compile }

// Test to allow for va_copy with C++0x standard.

#include <cstdarg>

va_list x;
va_list y;

int main ()
{
    va_copy (y, x);
}