xref: /llvm-project/llvm/test/tools/llvm-ar/aix-bitcode.test (revision fae9d4df8fcff802dc7b0c344c61c70cc2a20697)
1*fae9d4dfSQiongsi Wu# Check if llvm-ar correctly archives bitcode files for AIX.
2*fae9d4dfSQiongsi Wu# RUN: rm -rf %t && mkdir -p %t
3*fae9d4dfSQiongsi Wu# RUN: llvm-as %S/Inputs/aix-foo.ll -o %t/aix-foo.bc
4*fae9d4dfSQiongsi Wu# RUN: llvm-ar qc %t/aix-foo.a %t/aix-foo.bc
5*fae9d4dfSQiongsi Wu# RUN: FileCheck %s --input-file=%t/aix-foo.a
6*fae9d4dfSQiongsi Wu
7*fae9d4dfSQiongsi Wu# CHECK:  bigaf
8