Commit cb93bc13 authored by Sergio Costas's avatar Sergio Costas

Extra test

parent 32077f8b
......@@ -1004,6 +1004,9 @@ class Test(unittest.TestCase):
def test243ReturnVoidPointer(self):
def test244ReturnVoidPointer2(self):
self._generic_test("unitest/test244.c", [ (crust.crust.MSG_ERROR, "Function '{:s}' expects a return value, but the code exited without it", 'function_name') ])
if __name__ == '__main__':
void* function_name() {
// ERROR; it must return something
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment