summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml')
-rw-r--r--testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml20
1 files changed, 14 insertions, 6 deletions
diff --git a/testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml b/testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml
index 518dafe019..e576d93197 100644
--- a/testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml
+++ b/testsuite/tests/typing-rectypes-bugs/pr5343_bad.ml
@@ -1,9 +1,9 @@
-(* TEST
-flags = " -w -a -rectypes "
-ocamlc_byte_exit_status = "2"
-* setup-ocamlc.byte-build-env
-** ocamlc.byte
-*** check-ocamlc.byte-output
+(* TEST_BELOW
+(* Blank lines added here to preserve locations. *)
+
+
+
+
*)
module M : sig
@@ -19,3 +19,11 @@ end = struct
end;;
let h (x : int) : bool = M.g (M.f x);;
+
+(* TEST
+ flags = " -w -a -rectypes ";
+ ocamlc_byte_exit_status = "2";
+ setup-ocamlc.byte-build-env;
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+*)