aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/oread/tests/ra1.on
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/oread/tests/ra1.on')
-rw-r--r--src/ortho/oread/tests/ra1.on8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/ra1.on b/src/ortho/oread/tests/ra1.on
new file mode 100644
index 000000000..0f5300e66
--- /dev/null
+++ b/src/ortho/oread/tests/ra1.on
@@ -0,0 +1,8 @@
+TYPE int32 IS SIGNED (32);
+TYPE char IS UNSIGNED(8);
+
+PUBLIC FUNCTION add (a : char; b : char) RETURN int32
+DECLARE
+BEGIN
+ RETURN int32'conv(a) +# int32'conv(b);
+END;