Add a test for a type-level interface module

This commit is contained in:
Iavor Diatchki 2022-06-08 13:42:00 -07:00
parent af0af83f8d
commit 743c689a10
4 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,6 @@
submodule F where
import interface module T015_S
x : n
x = 0

View File

@ -0,0 +1 @@
:load T015.cry

View File

@ -0,0 +1,4 @@
Loading module Cryptol
Loading module Cryptol
Loading interface module T015_S
Loading module Main

View File

@ -0,0 +1,7 @@
interface module T015_S where
type n : *
type constraint (Literal 0 n)