[llvm-ar][test] Test that --plugin is ignored

This commit is contained in:
Fangrui Song 2022-01-12 11:32:30 -08:00
parent 22e6722632
commit f8476fd47b

View file

@ -0,0 +1,9 @@
## Test that --plugin is ignored.
# RUN: rm -f %t.a
# RUN: touch %t.txt
# RUN: llvm-ar rc %t.a %t.txt
# RUN: llvm-ar --plugin ignore t %t.a | FileCheck %s
# RUN: llvm-ar t --plugin=ignore %t.a | FileCheck %s
# CHECK: {{.*}}.txt