diff options
Diffstat (limited to 'tests/i/multifile-operators/operators.cps')
| -rw-r--r-- | tests/i/multifile-operators/operators.cps | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/i/multifile-operators/operators.cps b/tests/i/multifile-operators/operators.cps new file mode 100644 index 0000000..f0c4f05 --- /dev/null +++ b/tests/i/multifile-operators/operators.cps @@ -0,0 +1,4 @@ +INCLUDE "types.cps" +OVERLOAD FUNCTION OPERATOR+(lhs : Key, rhs : INTEGER) RETURNS INTEGER +RETURN lhs.Value + rhs +ENDFUNCTION |
