Fixes #2908, add "\n" between pure literal header and function body.
Merge pull request #2940 from jiangmiao/issue2908

Fixes #2908, add "\n" between pure literal header and function body.