summaryrefslogtreecommitdiff
path: root/testsuite/check/lins/linsCnc.gf
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/check/lins/linsCnc.gf')
-rw-r--r--testsuite/check/lins/linsCnc.gf11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/check/lins/linsCnc.gf b/testsuite/check/lins/linsCnc.gf
new file mode 100644
index 000000000..3d430f5a0
--- /dev/null
+++ b/testsuite/check/lins/linsCnc.gf
@@ -0,0 +1,11 @@
+concrete linsCnc of lins = {
+
+lincat Nat = {} ;
+
+-- we expect warnings because the lines bellow are commented out
+-- we don't expect warning for zero because Nat = {}
+
+-- lincat C = {s : Str} ;
+-- lin test = {s = "test"} ;
+
+} \ No newline at end of file