1
0
forked from GitHub/gf-core
Files
gf-core/testsuite/compiler/renamer/funpatt.gf

14 lines
189 B
Plaintext

abstract funpatt = {
-- this should raise error
-- we cannot pattern match on functions
cat D ;
fun D1 : D ;
D2 : D ;
fun d : D -> Int ;
def d D1 = 1 ;
d D2 = 2 ;
}