mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-10-26 14:09:09 +03:00
[ test ] for the perf regression
This commit is contained in:
parent
adf284260b
commit
3f76bfdd6f
12
tests/idris2/reg/reg054/Issue3354.idr
Normal file
12
tests/idris2/reg/reg054/Issue3354.idr
Normal file
@ -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
tests/idris2/reg/reg054/expected
Normal file
1
tests/idris2/reg/reg054/expected
Normal file
@ -0,0 +1 @@
|
||||
1/1: Building Issue3354 (Issue3354.idr)
|
2
tests/idris2/reg/reg054/run
Normal file
2
tests/idris2/reg/reg054/run
Normal file
@ -0,0 +1,2 @@
|
||||
. ../../../testutils.sh
|
||||
check Issue3354.idr
|
Loading…
Reference in New Issue
Block a user