Merge pull request #18 from birth-software/imul-test
actually add imul test case
This commit is contained in:
commit
8ab7a0d768
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -2,13 +2,7 @@ name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/ci.yml"
|
||||
- "**.zig"
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/ci.yml"
|
||||
- "**.zig"
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
|
5
test/imul/main.nat
Normal file
5
test/imul/main.nat
Normal file
@ -0,0 +1,5 @@
|
||||
const main = fn () s32 {
|
||||
const a: s32 = 5;
|
||||
const b: s32 = 4;
|
||||
return 5 * 4 - a * b;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user