aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2023-06-12 22:14:45 +0200
committer lemon<lsof@mailbox.org>2023-06-12 22:16:34 +0200
commita5bb980335f5234f4901ae062e183e5bb72f845f (patch)
tree716bff8a3fa3ebfc7f29cab3d89be64097dae0b7 /test
parent906550167df51dd29a778ac79b7ec95d891b80ad (diff)
xor reg,reg
Diffstat (limited to 'test')
-rw-r--r--test/test3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test3.c b/test/test3.c
index 8bd9020..74f4c00 100644
--- a/test/test3.c
+++ b/test/test3.c
@@ -12,10 +12,13 @@ int shcl(int a, int b) {
return a << (b+1);
}
+int zero() { return 0; }
+float fzero() { return 0.0f; }
+
struct p { long x,y; };
struct p divsh(int a) {
struct p p;
- p.x = a << (a / 5);
+ p.x = a << (a % 5);
p.y = a;
return p;
}