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):
self._all_fine_test("unitest/test243.c")
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__':
try:
os.remove("error_list.txt")
......
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