Skip to content

Commit 616e740

Browse files
committed
More
1 parent 65a28be commit 616e740

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ set(ethos_test_file_list
144144
pairwise-singleton.eo
145145
quote-opaque.eo
146146
quote-requires.eo
147+
set-empty-amb.eo
147148
)
148149

149150
if(ENABLE_ORACLES)

tests/set-empty-amb.eo

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
(declare-type Set (Type))
3+
(declare-parameterized-const set.empty ((T Type :implicit)) (Set T))
4+
5+
(declare-type Int ())
6+
7+
(define f () (as set.empty (Set Int)) :type (Set Int))

0 commit comments

Comments
 (0)