Skip to content

Commit

Permalink
Add test for #1562
Browse files Browse the repository at this point in the history
  • Loading branch information
qsctr committed Aug 10, 2023
1 parent bcb60f2 commit fbfad1f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/issues/issue1562.cry
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
interface submodule I where
type Zp = [8]

submodule F where
import interface submodule I

submodule M where
// this is unused, but just here because syntactically we cannot have an empty
// module
type Empty = Bit

submodule F1 = submodule F { submodule M }
submodule F2 = submodule F { submodule M }
1 change: 1 addition & 0 deletions tests/issues/issue1562.icry
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:l issue1562.cry
3 changes: 3 additions & 0 deletions tests/issues/issue1562.icry.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Loading module Cryptol
Loading module Cryptol
Loading module Main

0 comments on commit fbfad1f

Please sign in to comment.