Add a test that ensures the Clang driver behaves itself when the PATH
authorChandler Carruth <chandlerc@gmail.com>
Tue, 2 Dec 2014 00:53:20 +0000 (00:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 2 Dec 2014 00:53:20 +0000 (00:53 +0000)
commitc2f9ea78473caa319380f49287da512ba96c60e8
tree488c0e5aff2a593129c1213608c76677e3a51a8b
parentec8406d8f43c8e459034f8bddf3112c26a31a81b
Add a test that ensures the Clang driver behaves itself when the PATH
environment variable is changed to strange things out from under it.
Prior to r223099 in LLVM, these test cases would crash in various ways
(assert fails, stack exhaustion, etc.).

llvm-svn: 223100
clang/test/Driver/env.c [new file with mode: 0644]