diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-13 19:36:04 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-13 19:36:04 +0000 |
commit | 5413f6f863540b45bed61e577bf5c2cc85ae08a4 (patch) | |
tree | a42c0bfffed501c9e7a8a7f10906b84c1659ff93 /llvm/test | |
parent | 50688beb103db82bd14175f49b05af3a7f3316fc (diff) | |
download | bcm5719-llvm-5413f6f863540b45bed61e577bf5c2cc85ae08a4.tar.gz bcm5719-llvm-5413f6f863540b45bed61e577bf5c2cc85ae08a4.zip |
LibDriver: Silently do nothing when provided no inputs.
This behavior is strange, but it matches lib.exe. Based on a patch by
Nico Weber.
Fixes PR27335.
llvm-svn: 266236
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/LibDriver/no-inputs.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/LibDriver/no-inputs.test b/llvm/test/LibDriver/no-inputs.test new file mode 100644 index 00000000000..95d6555d58c --- /dev/null +++ b/llvm/test/LibDriver/no-inputs.test @@ -0,0 +1,2 @@ +RUN: llvm-lib -out:%t.a +RUN: test ! -e %t.a |