PR bootstrap/71481: fix input.c selftest
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 13 Jun 2016 21:20:10 +0000 (21:20 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 13 Jun 2016 21:20:10 +0000 (21:20 +0000)
commit85ecd05c26d107921b166374dd77c40a393312c8
treeec6ac4583e4ad411cd6740d0f46ca084d3289c30
parent2fe00b1fba78d3e9fb26754e9cbf3d05ab7e1506
PR bootstrap/71481: fix input.c selftest

gcc/ChangeLog:
PR bootstrap/71481
* input.c (selftest::test_reading_source_line): Avoid reading from
__FILE__ by creating a tempfile with known content and reading
from that instead.

From-SVN: r237414
gcc/ChangeLog
gcc/input.c