test call void

This commit is contained in:
Vu Tuan Minh
2025-04-28 13:48:52 +02:00
parent 4a48ee286b
commit a421811002
6 changed files with 59 additions and 8 deletions

View File

@@ -6,11 +6,16 @@ FUNC INT add(a,b) {
RETURN z
}
FUNC VOID affiche(x){
PRINT x
}
FUNC INT main(x,y) {
INT a,b,c,minh
x := 5
minh := x * y
b:=3
affiche(b)
c:=add(x,b)
PRINT "coucou, tu peux réparer le visitPrint dans LLVM stp","il manque virgule au milieu", c*5+b
WHILE b - 1