llvm-for-llvmta/test/tools/llvm-ar/mri3.test

7 lines
189 B
Plaintext

; 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: error: script line 2: file already saved