Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
va-arg-3.c
blob: ef2344b4f3d66985a217a2ed7aaa2b4fa08a42ed [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O3" } */
/* PR 14498. */
#include
<stdarg.h>
extern
void
baz
(
char
*);
void
bar
(
va_list
*
args
)
{
if
(
args
)
{
char
*
s
=
va_arg
(*
args
,
char
*);
baz
(
s
);
}
}