llvm-ar: Start adding support for mri scripts.
[oota-llvm.git] / test / Object / mri2.test
diff --git a/test/Object/mri2.test b/test/Object/mri2.test
new file mode 100644 (file)
index 0000000..0c24179
--- /dev/null
@@ -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