repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp-va-arg-bug.C
blob
616f2f4b0f0a3408516d2f29c706bb29b96088f6
1
// { dg-do compile { target c++11 } }
2
// { dg-options "-Wno-abi" { target arm_eabi } }
3
#include <stdarg.h>
4
5
struct S { };
6
void f(S const &);
7
8
void g(va_list args)
9
{
10
f(va_arg(args, S));
11
}