llvm-project/llvm/test/tools/llvm-ar/default-xcoff.test

11 lines
352 B
Plaintext

; REQUIRES: system-aix
;; Test llvm-ar does not support Big AIX archive write operation.
; RUN: yaml2obj %S/Inputs/xcoff.yaml -o %t.obj
; RUN: rm -f %t.ar
; RUN: not llvm-ar cr %t.ar %t.obj 2>&1 | FileCheck %s
; RUN: echo "test big archive" > %t.txt
; RUN: not llvm-ar cr %t.ar %t.txt 2>&1 | FileCheck %s
; CHECK: unsupported big AIX write operation