ref: 0490f2f14e257b73206da53fd88329223702cf2f
parent: 013be4e2c832b503356ef59f87ab177ad831691c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Sep 26 08:51:22 EDT 2016
[tests] Fix 0041-queen.c The function Go was of type int, but it was not returning anything, although the returned value was not used for anything, so the behaviour of this function is totally defined. At this moment QBE does not support returning from a function that return something without returning something, and since it is not an important point for this test, it is better to add an implicit 0.
--- a/tests/0041-queen.c
+++ b/tests/0041-queen.c
@@ -41,6 +41,7 @@
}
x = 0;
}
+ return 0;
}
int