We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102f8dd commit fdbc151Copy full SHA for fdbc151
compiler/tests-wasm_of_ocaml/dune
@@ -1,5 +1,5 @@
1
(executables
2
- (names gh38 gh46 gh107)
+ (names gh38 gh46 gh107 gh112)
3
(modes js)
4
(js_of_ocaml
5
(flags :standard --disable optcall --no-inline)))
@@ -33,3 +33,13 @@
33
(with-outputs-to
34
%{target}
35
(run node %{dep:gh107.bc.js}))))
36
+
37
+(rule
38
+ (target gh112.actual)
39
+ (enabled_if
40
+ (= %{profile} wasm))
41
+ (alias runtest)
42
+ (action
43
+ (with-outputs-to
44
+ %{target}
45
+ (run node %{dep:gh112.bc.js}))))
compiler/tests-wasm_of_ocaml/gh112.ml
@@ -0,0 +1,5 @@
+let construct x = [| x |]
+let project (x : float array) = x.(0)
+let _ = project (construct 4.0)
0 commit comments