Add a test for #1987

This commit is contained in:
topecongiro 2017-10-01 20:30:32 +09:00
parent 74402bbdef
commit bdcd36e677
2 changed files with 9 additions and 0 deletions

View File

@ -56,3 +56,7 @@ fn issue_1282() {
}
}
}
// #1987
#[link_args = "-s NO_FILESYSTEM=1 -s NO_EXIT_RUNTIME=1 -s EXPORTED_RUNTIME_METHODS=[\"_malloc\"] -s NO_DYNAMIC_EXECUTION=1 -s ELIMINATE_DUPLICATE_FUNCTIONS=1 -s EVAL_CTORS=1"]
extern "C" {}

View File

@ -57,3 +57,8 @@ fn issue_1282() {
}
}
}
// #1987
#[link_args = "-s NO_FILESYSTEM=1 -s NO_EXIT_RUNTIME=1 -s EXPORTED_RUNTIME_METHODS=[\"_malloc\"] \
-s NO_DYNAMIC_EXECUTION=1 -s ELIMINATE_DUPLICATE_FUNCTIONS=1 -s EVAL_CTORS=1"]
extern "C" {}