Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr65802.c
blob0721ca81bf654803a020247fe3c91df2b569ec04
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -fexceptions" } */
3 /* { dg-require-effective-target exceptions } */
5 #include <stdarg.h>
7 struct S
9 int (*m_fn1) (void);
10 } a;
12 void
13 fn1 (int d, ...)
15 va_list c;
16 va_start (c, d);
19 int *d = va_arg (c, int *);
21 int **e = &d;
23 a.m_fn1 ();
26 a.m_fn1 ();
28 va_end (c);