I did some playing around with message-length.c, and I think the ‘\r’'s are confusing FileCheck. I think it’s the regex function, which is seeing them, because the file is opened in binary mode.

This seems to be the easy fix:

Index: test/Misc/message-length.c

Oh, scratch this. It doesn’t work on Linux. ‘.’ has to match something.

Perhaps “.?”, i.e.:

+// CHECK: {{^ …// some long comment text and a brace, eh {} .?$}}


Hi John,

I think we should probably fix this issue in FileCheck somehow, but
for now I'll tweak the test to work around the issue.

- Daniel