summaryrefslogtreecommitdiff
path: root/testsuite/runtime/parser/LiteralsCnc.gf
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtime/parser/LiteralsCnc.gf')
-rw-r--r--testsuite/runtime/parser/LiteralsCnc.gf9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/runtime/parser/LiteralsCnc.gf b/testsuite/runtime/parser/LiteralsCnc.gf
new file mode 100644
index 000000000..d91a222c8
--- /dev/null
+++ b/testsuite/runtime/parser/LiteralsCnc.gf
@@ -0,0 +1,9 @@
+concrete LiteralsCnc of Literals = {
+
+lincat S = Str ;
+
+lin IsString x = x.s ++ "is string" ;
+lin IsInteger x = x.s ++ "is integer" ;
+lin IsFloat x = x.s ++ "is float" ;
+
+} \ No newline at end of file