1 /* { dg-do compile } */ 2 /* { dg-options "-O0 -fexceptions" } */ 3 /* { dg-require-effective-target exceptions } */ 4 5 #include <stdarg.h> 6 7 struct S 8 { 9 int (*m_fn1) (void); 10 } a; 11 12 void fn1(int d,...)13fn1 (int d, ...) 14 { 15 va_list c; 16 va_start (c, d); 17 18 { 19 int *d = va_arg (c, int *); 20 21 int **e = &d; 22 23 a.m_fn1 (); 24 } 25 26 a.m_fn1 (); 27 28 va_end (c); 29 } 30