; 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: error: script line 2: editing multiple archives not supported
; 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: error: script line 2: editing multiple archives not supported