parent
72e89c7cf0
commit
0919ed7222
|
@ -0,0 +1,13 @@
|
|||
/* { 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue