add tests
never use tempvar for holding ref to cb if cb is a static const / function
Merge branch 'kazuho/inline-static-func-as-cb'
releng for 0.9.82