Add test for GPR#1696

master
David Allsopp 2019-01-17 10:55:05 +00:00
parent 7e0862a212
commit bba642d9b7
4 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
let answer = 42

View File

@ -28,4 +28,5 @@ stringmatch.ml
switch_opts.ml
tailcalls.ml
trigraph.ml
unit_naming.ml
zero_divided_by_n.ml

View File

@ -0,0 +1,4 @@
File "unit_naming.ml", line 9, characters 10-25:
9 | print_int Camlcase.answer
^^^^^^^^^^^^^^^
Error: Unbound module Camlcase

View File

@ -0,0 +1,9 @@
(* TEST
modules = "camlCase.ml"
* setup-ocamlc.byte-build-env
** ocamlc.byte
ocamlc_byte_exit_status = "2"
*** check-ocamlc.byte-output
*)
print_int Camlcase.answer