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 tree-optimization/86401
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
va-arg-va-list-type.c
blob
cdd97cfb037a1954efd4cfcfa22296398ac07f23
1
/* { dg-do compile } */
2
3
__builtin_va_list
*
pap
;
4
5
void
6
fn1
(
void
)
7
{
8
__builtin_va_arg
(
pap
,
double
);
/* { dg-error "first argument to 'va_arg' not of type 'va_list'" } */
9
}