diff options
| author | Jon French | 2018-06-11 16:28:07 +0100 |
|---|---|---|
| committer | Jon French | 2018-06-11 16:28:07 +0100 |
| commit | 22aff19aeea53719004cca2b5c6b25d0a7ed0835 (patch) | |
| tree | 5d8bdfd982c5c0efde9c7eac021f6341af124e7f /test/typecheck | |
| parent | 4ddc0093cb9a833d0e92ed62541a14c5bb652367 (diff) | |
actually fix exist_pattern test
Diffstat (limited to 'test/typecheck')
| -rw-r--r-- | test/typecheck/pass/exist_pattern.sail | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/typecheck/pass/exist_pattern.sail b/test/typecheck/pass/exist_pattern.sail index c701f12b..ac41114f 100644 --- a/test/typecheck/pass/exist_pattern.sail +++ b/test/typecheck/pass/exist_pattern.sail @@ -1,4 +1,4 @@ -default Order inc +default Order dec $include <prelude.sail> @@ -36,7 +36,7 @@ function main () = { 32 => x = 128 }; match 0b010101 { - 0b01 @ _ : vector(1, inc, bit) @ 0b101 => n = 42, + 0b01 @ _ : vector(1, dec, bit) @ 0b101 => n = 42, _ => n = 0 }; n = 3; |
