aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/2003-08-18-SigSetJmp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-18-SigSetJmp.c b/test/CFrontend/2003-08-18-SigSetJmp.c
new file mode 100644
index 0000000000..fb25484192
--- /dev/null
+++ b/test/CFrontend/2003-08-18-SigSetJmp.c
@@ -0,0 +1,8 @@
+
+#include <setjmp.h>
+
+sigjmp_buf B;
+int foo() {
+ sigsetjmp(B, 1);
+ bar();
+}