Files
archived-llvm-mirror/test/Object/mri2.test
Owen Reynolds 99b49538fb Reapply [llvm-ar] Include a line number when failing to parse an MRI script
Reapply r372309

Errors that occur when reading an MRI script now include a corresponding
line number.

Differential Revision: https://reviews.llvm.org/D67449

llvm-svn: 372374
2019-09-20 08:10:14 +00:00

8 lines
244 B
Plaintext

; 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