mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-13 10:58:23 +03:00
Add a test
This commit is contained in:
parent
5cd90d0045
commit
3443331f06
1
tests/modsys/T12.icry
Normal file
1
tests/modsys/T12.icry
Normal file
@ -0,0 +1 @@
|
||||
:module T12::Main
|
3
tests/modsys/T12.icry.stdout
Normal file
3
tests/modsys/T12.icry.stdout
Normal file
@ -0,0 +1,3 @@
|
||||
Loading module Cryptol
|
||||
Loading module T12::A
|
||||
Loading module T12::Main
|
8
tests/modsys/T12/A.cry
Normal file
8
tests/modsys/T12/A.cry
Normal file
@ -0,0 +1,8 @@
|
||||
module T12::A where
|
||||
|
||||
parameter
|
||||
type T : #
|
||||
type constraint (2 >= T)
|
||||
f : [8] -> [8]
|
||||
|
||||
|
9
tests/modsys/T12/Main.cry
Normal file
9
tests/modsys/T12/Main.cry
Normal file
@ -0,0 +1,9 @@
|
||||
module T12::Main = T12::A where
|
||||
|
||||
parameter
|
||||
type T : #
|
||||
type constraint (2 >= T)
|
||||
|
||||
f x = x
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user