summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml')
-rw-r--r--testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml20
1 files changed, 14 insertions, 6 deletions
diff --git a/testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml b/testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml
index 186e07088b..a04e08eae7 100644
--- a/testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml
+++ b/testsuite/tests/typing-rectypes-bugs/pr6870_bad.ml
@@ -1,10 +1,18 @@
-(* 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 type T = sig type 'a t end
module Fix (T : T) = struct type r = ('r T.t as 'r) end
+
+(* TEST
+ flags = " -w -a -rectypes ";
+ ocamlc_byte_exit_status = "2";
+ setup-ocamlc.byte-build-env;
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+*)