summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-modules-bugs/pr6293_bad.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typing-modules-bugs/pr6293_bad.ml')
-rw-r--r--testsuite/tests/typing-modules-bugs/pr6293_bad.ml20
1 files changed, 14 insertions, 6 deletions
diff --git a/testsuite/tests/typing-modules-bugs/pr6293_bad.ml b/testsuite/tests/typing-modules-bugs/pr6293_bad.ml
index db93799513..ba9997d11b 100644
--- a/testsuite/tests/typing-modules-bugs/pr6293_bad.ml
+++ b/testsuite/tests/typing-modules-bugs/pr6293_bad.ml
@@ -1,10 +1,18 @@
-(* TEST
-flags = " -w -a "
-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 type S = sig type t = { a : int; b : int; } end;;
let f (module M : S with type t = int) = { M.a = 0 };;
+
+(* TEST
+ flags = " -w -a ";
+ ocamlc_byte_exit_status = "2";
+ setup-ocamlc.byte-build-env;
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+*)