diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | test.lang | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,3 @@ -a.out +lang *.o out.pdf @@ -1,4 +1,4 @@ -EXE = a.out +EXE = lang RUNARGS = test.lang CFLAGS = -std=c23 -Wall -Wextra -Wpedantic ${CFLAGS_${DEBUG}} @@ -1,3 +1,7 @@ +func square(x i64) i64 { + return x * x +} + func main(a, b i64) i64 { if a < b { let t = a |
