New, from PR 14498.

From-SVN: r82368
This commit is contained in:
Dale Johannesen 2004-05-28 17:09:22 +00:00
parent 72e89c7cf0
commit 0919ed7222
1 changed files with 13 additions and 0 deletions

View File

@ -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);
}
}