[rt #74875] add unshipped test for unclosed pod in C sources

and fix the failures