aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/gcc.dg/setjmp-7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/setjmp-7.c b/gcc/testsuite/gcc.dg/setjmp-7.c
index 44b5bcb..5795423 100644
--- a/gcc/testsuite/gcc.dg/setjmp-7.c
+++ b/gcc/testsuite/gcc.dg/setjmp-7.c
@@ -6,6 +6,7 @@ struct __jmp_buf_tag { };
typedef struct __jmp_buf_tag jmp_buf[1];
struct globals { jmp_buf listingbuf; };
extern struct globals *const ptr_to_globals;
+int _setjmp (struct __jmp_buf_tag __env[1]);
void foo()
{
if ( _setjmp ( ((*ptr_to_globals).listingbuf )))