Add support for reading members out of thin archives.
[oota-llvm.git] / test / Object / archive-extract.test
index c1ddcf717257aa7e0a62ab2fad5b10821994f0b5..a77adf2cabbd0e0e425ea3a1653f1e040063deba 100644 (file)
@@ -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.