[PATCH 4/4] tests: Test entry point semantics on function declarations.