ldb/tests: avoid 'return void_function();' which isn't portable