summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/archive-format.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/archive-format.test')
-rw-r--r--llvm/test/Object/archive-format.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Object/archive-format.test b/llvm/test/Object/archive-format.test
index 651a9b9ef15..70458d51be1 100644
--- a/llvm/test/Object/archive-format.test
+++ b/llvm/test/Object/archive-format.test
@@ -62,3 +62,6 @@ THIN-PATH-NEXT: /0 0 0 0 644 4 `
THIN-PATH-NEXT: /20 0 0 0 644 4 `
THIN-PATH-NEXT: /41 0 0 0 644 4 `
THIN-PATH-NEXT: /65 0 0 0 644 4 `
+
+RUN: not llvm-ar --format=bsd rcT bad.a 0123456789abcde 0123456789abcdef 2>&1 | FileCheck --check-prefix=BSD-THIN %s
+BSD-THIN: Only the gnu format has a thin mode.
OpenPOWER on IntegriCloud