mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-29 10:53:31 +03:00
Add regression test for #670.
This commit is contained in:
parent
7211c9f251
commit
aec6cb0a7e
7
tests/issues/issue670.cry
Normal file
7
tests/issues/issue670.cry
Normal file
@ -0,0 +1,7 @@
|
||||
type x +++ y = x-y
|
||||
|
||||
g : [6 +++ 2 +++ 1]
|
||||
g = 2
|
||||
|
||||
h : [6 +++ (2 +++ 1)]
|
||||
h = 9
|
3
tests/issues/issue670.icry
Normal file
3
tests/issues/issue670.icry
Normal file
@ -0,0 +1,3 @@
|
||||
:l issue670.cry
|
||||
:t g
|
||||
:t h
|
5
tests/issues/issue670.icry.stdout
Normal file
5
tests/issues/issue670.icry.stdout
Normal file
@ -0,0 +1,5 @@
|
||||
Loading module Cryptol
|
||||
Loading module Cryptol
|
||||
Loading module Main
|
||||
g : [6 +++ 2 +++ 1]
|
||||
h : [6 +++ (2 +++ 1)]
|
Loading…
Reference in New Issue
Block a user