aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/06_mod.sy
diff options
context:
space:
mode:
Diffstat (limited to 'rcc-legacy/tests/functional/06_mod.sy')
-rw-r--r--rcc-legacy/tests/functional/06_mod.sy9
1 files changed, 9 insertions, 0 deletions
diff --git a/rcc-legacy/tests/functional/06_mod.sy b/rcc-legacy/tests/functional/06_mod.sy
new file mode 100644
index 0000000..f20e0b5
--- /dev/null
+++ b/rcc-legacy/tests/functional/06_mod.sy
@@ -0,0 +1,9 @@
+int a;
+int b;
+int main(){
+ a = 10;
+ b = 3;
+ int c;
+ c = a % b;
+ return c;
+}