aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/mri2.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/mri2.test')
-rw-r--r--test/Object/mri2.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/mri2.test b/test/Object/mri2.test
new file mode 100644
index 0000000..0c24179
--- /dev/null
+++ b/test/Object/mri2.test
@@ -0,0 +1,7 @@
+; RUN: echo create %t.a > %t.mri
+; RUN: echo create %t.a >> %t.mri
+; RUN: echo save >> %t.mri
+; RUN: echo end >> %t.mri
+
+; RUN: not llvm-ar -M < %t.mri 2>&1 | FileCheck %s
+; CHECK: Editing multiple archives not supported