summaryrefslogtreecommitdiff
path: root/testsuite/tests/parse-errors/expecting.ml
blob: 5f3026b3425d6de07d1f92c68c404f4d2b6f7d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(* TEST_BELOW
(* Blank lines added here to preserve locations. *)
*)

let f = function
  | 3 as 3 -> ()
;;

let f = function
  | 3 :: -> ()
;;

let f = function
  | 3 | -> ()
;;

let f = function
  | List.( -> ()
;;

let f = function
  | (3 : 3) -> ()
;;

let f = function
  | (3,) -> ()
;;

let f = function
  | ( -> ()
;;

let f = function
  | (module -> ()
;;

(* TEST
 toplevel;
*)