From 5413f6f863540b45bed61e577bf5c2cc85ae08a4 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 13 Apr 2016 19:36:04 +0000 Subject: 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 --- llvm/test/LibDriver/no-inputs.test | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 llvm/test/LibDriver/no-inputs.test (limited to 'llvm/test') 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 -- cgit v1.2.3