diff options
Diffstat (limited to 'testsuite/compiler/check/strMatch/strMatchCnc.gf')
| -rw-r--r-- | testsuite/compiler/check/strMatch/strMatchCnc.gf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/compiler/check/strMatch/strMatchCnc.gf b/testsuite/compiler/check/strMatch/strMatchCnc.gf new file mode 100644 index 000000000..c1a21b4af --- /dev/null +++ b/testsuite/compiler/check/strMatch/strMatchCnc.gf @@ -0,0 +1,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} ;
+}
\ No newline at end of file |
