Skip to content

Commit

Permalink
Add a couple tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sauclovian-g committed Jan 29, 2025
1 parent e583163 commit c1a049e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions intTests/test2204/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
set -e

$SAW test1.saw
$SAW test2.saw
6 changes: 6 additions & 0 deletions intTests/test2204/test1.saw
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
let f (x : a) : a = x;
let g (x : a) (y : b) : (a, b) = (x, y);

let h (x : a) : m a = do {
return x;
};
4 changes: 4 additions & 0 deletions intTests/test2204/test2.saw
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rec f (x : a) : b = g x
and g (y : a) : b = h y
and h (z : a) : b = f z
;

0 comments on commit c1a049e

Please sign in to comment.