GHC doesn't handle ./ prefixed paths correctly (#12674)
authorroland <rsx@bluewin.ch>
Mon, 30 Jul 2018 20:34:20 +0000 (21:34 +0100)
committerTamar Christina <tamar@zhox.com>
Mon, 30 Jul 2018 20:37:52 +0000 (21:37 +0100)
commita7c8acda5c7ad99fa983bbd5e59480ab5e633c54
tree3514e0f7eb2e96f2402548632b4a76a4c00a5ce1
parent9d388eb83e797fd28e14868009c4786f3f1a8aa6
GHC doesn't handle ./ prefixed paths correctly (#12674)

Summary: If a filename starts with a hypen, GHC keeps the prefixed "./" path.

Test Plan: make test TEST=T12674

Reviewers: Phyx, nomeata, bgamari, erikd

Reviewed By: Phyx

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #12674

Differential Revision: https://phabricator.haskell.org/D5009
ghc/Main.hs
testsuite/tests/driver/T12674/-T12674.hs [new file with mode: 0644]
testsuite/tests/driver/T12674/-T12674c.c [new file with mode: 0644]
testsuite/tests/driver/T12674/T12674.stdout [new file with mode: 0644]
testsuite/tests/driver/T12674/T12674w.stdout [new file with mode: 0644]
testsuite/tests/driver/T12674/all.T [new file with mode: 0644]