diff options
Diffstat (limited to 'tests/run-make-fulldeps/longjmp-across-rust/foo.c')
-rw-r--r-- | tests/run-make-fulldeps/longjmp-across-rust/foo.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/run-make-fulldeps/longjmp-across-rust/foo.c b/tests/run-make-fulldeps/longjmp-across-rust/foo.c deleted file mode 100644 index bd71cc4d7..000000000 --- a/tests/run-make-fulldeps/longjmp-across-rust/foo.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <assert.h> -#include <setjmp.h> - -static jmp_buf ENV; - -extern void test_middle(); - -void test_start(void(*f)()) { - if (setjmp(ENV) != 0) - return; - f(); - assert(0); -} - -void test_end() { - longjmp(ENV, 1); - assert(0); -} |