summaryrefslogtreecommitdiff
path: root/test/lld/longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lld/longjmp.c')
-rw-r--r--test/lld/longjmp.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/lld/longjmp.c b/test/lld/longjmp.c
deleted file mode 100644
index 1df54f6f2..000000000
--- a/test/lld/longjmp.c
+++ /dev/null
@@ -1,17 +0,0 @@
-typedef struct jmp_buf_buf {
- int thing;
-} jmp_buf;
-
-void longjmp(jmp_buf env, int val);
-int setjmp(jmp_buf env);
-
-int __THREW__;
-int __threwValue;
-
-int main() {
- jmp_buf jmp;
- if (setjmp(jmp) == 0) {
- longjmp(jmp, 1);
- }
- return 0;
-}