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