summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/archive-extract.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/archive-extract.test')
-rw-r--r--llvm/test/Object/archive-extract.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Object/archive-extract.test b/llvm/test/Object/archive-extract.test
index c1ddcf71725..a77adf2cabb 100644
--- a/llvm/test/Object/archive-extract.test
+++ b/llvm/test/Object/archive-extract.test
@@ -48,3 +48,9 @@ NOTFOUND: foo.o was not found
RUN: not llvm-ar x %p/Inputs/thin.a foo.o 2>&1 | FileCheck %s --check-prefix=THINEXTRACT
THINEXTRACT: extracting from a thin archive is not supported
+
+RUN: llvm-ar p %p/Inputs/thin.a evenlen | FileCheck %s --check-prefix=EVENLEN
+EVENLEN: evenlen
+
+RUN: not llvm-ar p %p/Inputs/thin-path.a t/test2.o | FileCheck %s --check-prefix=MISSING
+MISSING: No such file or directory.
OpenPOWER on IntegriCloud