summaryrefslogtreecommitdiff
path: root/testsuite/compiler/check/strMatch/strMatchCnc.gf
blob: c1a21b4af606a27e6a6e6b1b4d4251690ec702f9 (plain)
1
2
3
4
5
6
7
8
concrete strMatchCnc of strMatch = open Prelude in {
  lincat S = {s : Str; b : Bool} ;
  lin f x = case x.s of {
              "" => {s="empty"; b=False} ;
              _  => x
            } ;
  lin z = {s=""; b=False} ;
}