tests: add regression test for #74745

This commit adds a regression test for #74745. While a
`ignore-tidy-trailing-lines` header is required, this doesn't stop the
test from reproducing, so long as there is no newline at the end of the
file.

However, adding the header comments made the test fail due to a bug in
pprust, fixed in the previous commit.

Signed-off-by: David Wood <david@davidtw.co>
This commit is contained in:
David Wood 2020-07-31 14:53:44 +01:00
parent 86f80d3ba8
commit c773226aba
No known key found for this signature in database
GPG Key ID: 2592E76C87381FD9

View File

@ -0,0 +1,5 @@
// ignore-tidy-trailing-newlines
// pretty-compare-only
/*
*/