]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - test/ast-test.c
function in the ast now MUST have an output type in their 'next' ast_expression point...
[xonotic/gmqcc.git] / test / ast-test.c
index 792ad774c58d3b8eb8452425dfd5226fbacbf880..022157897f4e1c26703faac36674745bde92fe3a 100644 (file)
@@ -36,7 +36,7 @@ MKCONSTFLOAT(f0, 0.0);
 MKCONSTFLOAT(f1, 1.0);
 MKCONSTFLOAT(f5, 5.0);
 
-FUNCTION(main);
+FUNCTION(main, TYPE_VOID);
 
 VAR(TYPE_FLOAT, vi);
 VAR(TYPE_FLOAT, vx);