Author: Ben Dunbobbin Date: 2022-05-17T11:39:33+01:00 New Revision: c76d57b63163a0c6b84bc79895c8ad7079cbc439
URL: https://github.com/llvm/llvm-project/commit/c76d57b63163a0c6b84bc79895c8ad7079cbc439 DIFF: https://github.com/llvm/llvm-project/commit/c76d57b63163a0c6b84bc79895c8ad7079cbc439.diff LOG: add regression test Added: Modified: llvm/test/tools/llvm-ar/regular-to-thin-archive.test Removed: ################################################################################ diff --git a/llvm/test/tools/llvm-ar/regular-to-thin-archive.test b/llvm/test/tools/llvm-ar/regular-to-thin-archive.test index f216e47b2c6d..d94a2c9f1b0c 100644 --- a/llvm/test/tools/llvm-ar/regular-to-thin-archive.test +++ b/llvm/test/tools/llvm-ar/regular-to-thin-archive.test @@ -5,6 +5,9 @@ # RUN: llvm-ar qc %t/archive.a %S/Inputs/a.txt # RUN: not llvm-ar q --thin %t/archive.a %s 2>&1 | FileCheck %s # RUN: not llvm-ar r --thin %t/archive.a %s 2>&1 | FileCheck %s +## Special case of replacing the same file, see: +## https://github.com/llvm/llvm-project/issues/55527 +# RUN: not llvm-ar r --thin %t/archive.a %S/Inputs/a.txt 2>&1 | FileCheck %s # CHECK: error: cannot convert a regular archive to a thin one _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits