summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml')
-rw-r--r--testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml20
1 files changed, 14 insertions, 6 deletions
diff --git a/testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml b/testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml
index fa61001722..85a11060c4 100644
--- a/testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml
+++ b/testsuite/tests/typing-polyvariants-bugs/pr5057a_bad.ml
@@ -1,9 +1,9 @@
-(* 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. *)
+
+
+
+
*)
(* This one should fail *)
@@ -13,3 +13,11 @@ let f flag =
let _ = match flag with `A -> 0 | `B r -> r in
let _ = match flag with `A -> T.mem | `B r -> r in
()
+
+(* TEST
+ flags = " -w -a ";
+ ocamlc_byte_exit_status = "2";
+ setup-ocamlc.byte-build-env;
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+*)