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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
va-arg1.C
blob
c0477adcb76a4f76e808b80cb13a6071d1d1b977
1
// PR c++/33462
2
3
struct A {};
4
5
void foo()
6
{
7
++__builtin_va_arg (0, A);
8
// { dg-error "operand type is 'A'" "" {target *-*-*} "7" }
9
// { dg-error "first argument to 'va_arg' not of type 'va_list'" "" {target *-*-*} "7" }
10
}