Fix fragile source-col-map.c test-case.
authorJames Y Knight <jyknight@google.com>
Thu, 4 Jun 2015 04:15:33 +0000 (04:15 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 4 Jun 2015 04:15:33 +0000 (04:15 +0000)
commit4c5901eefc7f22fe5e789535b783235d8c6e77ba
treede983ba99cb1d63e22f751c4c94986557950aa0a
parentbdb4a39ad861f5a107a72bb488c83e167749d567
Fix fragile source-col-map.c test-case.

The test passing was dependent upon your source tree being checked out
in a directory with a long enough path, to cause the diagnostics to
wrap at the expected locations.

Use stdin instead, so that the error messages consistently use
<stdin> as the filename, and get wrapped consistently.

llvm-svn: 239009
clang/test/Frontend/source-col-map.c