test call void
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user