From 447b60afccc89ef18d8f92a260dd1fcdf735898e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 31 Aug 2008 08:32:18 -0400 Subject: Laconic -> Ur --- tests/modproj.ur | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/modproj.ur (limited to 'tests/modproj.ur') diff --git a/tests/modproj.ur b/tests/modproj.ur new file mode 100644 index 00000000..a12e25a7 --- /dev/null +++ b/tests/modproj.ur @@ -0,0 +1,23 @@ +signature S1 = sig + type t + val zero : t +end +signature S2 = sig + type t = int + val zero : t +end +structure S = struct + type t = int + val zero = 0 +end +structure S1 : S1 = S +structure S2 : S2 = S + +type t = S1.t +val zero : t = S1.zero + +type t = S2.t +val zero : int = S2.zero + +structure T = S1 +val main : S1.t = T.zero -- cgit v1.2.3