summaryrefslogtreecommitdiff
path: root/test/lld/longjmp.c
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-01-07 17:33:47 -0800
committerGitHub <noreply@github.com>2020-01-07 17:33:47 -0800
commit132daae1e9154782bb1afa5df80dfe7ea35f0369 (patch)
treec7188dd9eedba76f1e752285226810886926f7a6 /test/lld/longjmp.c
parente8f9d207427bda2f6e22c28ff0210b294b1f70e1 (diff)
downloadbinaryen-132daae1e9154782bb1afa5df80dfe7ea35f0369.tar.gz
binaryen-132daae1e9154782bb1afa5df80dfe7ea35f0369.tar.bz2
binaryen-132daae1e9154782bb1afa5df80dfe7ea35f0369.zip
Revert "Reland "Fix renaming in FixInvokeFunctionNamesWalker (#2513)" (#2542)" (#2576)
This reverts commit f62e171c38bea14302f9b79f7941a248ea704425.
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;
-}