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
* gcc.dg/ipa/inline-2.c: Fix implicit declarations.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
va-arg-3.c
blob
ef2344b4f3d66985a217a2ed7aaa2b4fa08a42ed
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
/* PR 14498. */
4
#include <stdarg.h>
5
extern
void
baz
(
char
*);
6
void
bar
(
va_list
*
args
)
7
{
8
if
(
args
)
9
{
10
char
*
s
=
va_arg
(*
args
,
char
*);
11
baz
(
s
);
12
}
13
}