Verify that header sections are found even if not used
Verify that header sections are found even if not used

This prevents typos in the endif part of the section even when test
coverage is not perfect.

dtolnay/cxx,dtolnay/cxx,dtolnay/cxx,dtolnay/cxx