Skip to content

Commit 4783c8a

Browse files
committed
Add a test file
1 parent 67de034 commit 4783c8a

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

jscomp/test/build.ninja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ build test/gpr_3865_foo.cmi test/gpr_3865_foo.cmj : cc test/gpr_3865_foo.re | $s
310310
build test/gpr_3875_test.cmi test/gpr_3875_test.cmj : cc test/gpr_3875_test.ml | test/mt.cmj $stdlib
311311
build test/gpr_3877_test.cmi test/gpr_3877_test.cmj : cc test/gpr_3877_test.ml | $stdlib
312312
build test/gpr_3895_test.cmi test/gpr_3895_test.cmj : cc test/gpr_3895_test.ml | $stdlib
313+
build test/gpr_3897_test.cmi test/gpr_3897_test.cmj : cc test/gpr_3897_test.ml | $stdlib
313314
build test/gpr_3931_test.cmi test/gpr_3931_test.cmj : cc test/gpr_3931_test.ml | $stdlib
314315
build test/gpr_405_test.cmj : cc_cmi test/gpr_405_test.ml | test/gpr_405_test.cmi $stdlib
315316
build test/gpr_405_test.cmi : cc test/gpr_405_test.mli | $stdlib

jscomp/test/gpr_3897_test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
4+
function Make(U) {
5+
return U;
6+
}
7+
8+
exports.Make = Make;
9+
/* No side effect */

jscomp/test/gpr_3897_test.ml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module type S = sig
2+
val x : int
3+
end
4+
5+
6+
7+
8+
module Make (U : S) = struct
9+
include U
10+
end

0 commit comments

Comments
 (0)