test gcc warn_unused_result