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