Merge pull request #18 from birth-software/imul-test

actually add imul test case
This commit is contained in:
David 2023-11-12 20:45:12 -06:00 committed by GitHub
commit 8ab7a0d768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -2,13 +2,7 @@ name: CI
on: on:
pull_request: pull_request:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
push: push:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
branches: branches:
- main - main
schedule: schedule:

5
test/imul/main.nat Normal file
View File

@ -0,0 +1,5 @@
const main = fn () s32 {
const a: s32 = 5;
const b: s32 = 4;
return 5 * 4 - a * b;
}