re PR c++/67184 (Missed optimization with C++11 final specifier)
[official-gcc.git] / gcc / testsuite / g++.dg / other / var_copy-1.C
blob192af758216664b50e91b2723387f31dc9f5c278
1 // { dg-do compile { target c++11 } }
3 // Test to allow for va_copy with C++0x standard.
5 #include <cstdarg>
7 va_list x;
8 va_list y;
10 int main ()
12     va_copy (y, x);