mirror of https://github.com/WebAssembly/wasi-sdk
Merge 24a7308c87
into 38c97448e0
commit
0c7f44015d
@ -0,0 +1,10 @@
|
|||||||
|
// Primarily check that `libclang_rt.builtins-wasm32.a` functions are present
|
||||||
|
// and work as expected on all tested targets, not the builtin functionality.
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
double f = __floatdidf(0);
|
||||||
|
assert(f == 0.0);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in new issue