[llvm-branch-commits] [llvm] c76d57b - add regression test

Ben Dunbobbin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 17 03:39:48 PDT 2022


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
 


        


More information about the llvm-branch-commits mailing list