aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-18 15:45:55 +0000
committerChris Lattner <sabre@nondot.org>2003-08-18 15:45:55 +0000
commit95881ec1bb6afcbfbb21ec7dfa8956f27052959a (patch)
tree68efc5d97a645621ece4b676223fdcd278e65481 /test/CFrontend
parent8169cf810c8cfbec11eced0c9e534ea83f4c287e (diff)
downloadexternal_llvm-95881ec1bb6afcbfbb21ec7dfa8956f27052959a.zip
external_llvm-95881ec1bb6afcbfbb21ec7dfa8956f27052959a.tar.gz
external_llvm-95881ec1bb6afcbfbb21ec7dfa8956f27052959a.tar.bz2
New testcase, distilled from ed-0.2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-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 0000000..fb25484
--- /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();
+}