aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/comparisons.cup3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/comparisons.cup b/examples/comparisons.cup
new file mode 100644
index 0000000..d2bd41f
--- /dev/null
+++ b/examples/comparisons.cup
@@ -0,0 +1,3 @@
+fn main() {
+ return (5 == 3) + (5 > 4) + (1 != 2);
+} \ No newline at end of file