mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/alias-module.t

22 lines
388 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Test alias module for wrapped libraries:
$ cat >dune-project <<EOF
> (lang dune 3.5)
> EOF
$ cat >dune <<EOF
> (library
> (name foo))
> EOF
$ touch foo.ml bar.ml
$ dune build
$ cat _build/default/foo__.ml-gen
(* generated by dune *)
(** @canonical Foo.Bar *)
module Bar = Foo__Bar
module Foo__ = struct end
[@@deprecated "this module is shadowed"]