diff options
author | 2008-06-17 17:11:32 -0400 | |
---|---|---|
committer | 2008-06-17 17:11:32 -0400 | |
commit | 4ca360231456a3b719e27462a74bb8340578daeb (patch) | |
tree | 03993795230815291a6f7c8630d1624ba062cd17 | |
parent | 3fc43e22c438136877ca534fa6f75236c10350c8 (diff) |
Nested selfification test
-rw-r--r-- | tests/modnested.lac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/modnested.lac b/tests/modnested.lac new file mode 100644 index 00000000..93ef2327 --- /dev/null +++ b/tests/modnested.lac @@ -0,0 +1,23 @@ +signature S = sig + type t + val x : t + + structure Q : sig + type q + val y : q + end +end + +structure S = struct + type t = int + val x = 0 + + structure Q = struct + type q = float + val y = 0.0 + end +end + +structure S1 = S +structure S2 : S = S +structure S3 = S2 |