diff options
| author | 2023-06-12 22:14:45 +0200 | |
|---|---|---|
| committer | 2023-06-12 22:16:34 +0200 | |
| commit | a5bb980335f5234f4901ae062e183e5bb72f845f (patch) | |
| tree | 716bff8a3fa3ebfc7f29cab3d89be64097dae0b7 /test | |
| parent | 906550167df51dd29a778ac79b7ec95d891b80ad (diff) | |
xor reg,reg
Diffstat (limited to 'test')
| -rw-r--r-- | test/test3.c | 5 |
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; } |