Skip to content

Commit

Permalink
[ test ] for the perf regression
Browse files Browse the repository at this point in the history
  • Loading branch information
gallais committed Jul 26, 2024
1 parent 2667723 commit c25ed95
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/idris2/reg/reg054/Issue3354.idr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import Data.Fin

covering
g : Fin 64 -> Unit
g FZ = ()
g (FS i') = g $ weaken i'


total
g' : Fin 64 -> Unit
g' FZ = ()
g' i@(FS i') = g' $ assert_smaller i $ weaken i'
1 change: 1 addition & 0 deletions tests/idris2/reg/reg054/expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1/1: Building Issue3354 (Issue3354.idr)
2 changes: 2 additions & 0 deletions tests/idris2/reg/reg054/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
. ../../../testutils.sh
check Issue3354.idr

0 comments on commit c25ed95

Please sign in to comment.