[libcxx-commits] [libcxx] 42ecccf - [libcxx] Fix incorrect type in the has-1024-bit-atomics feature test (#84904)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 12 11:17:18 PDT 2024


Author: amilendra
Date: 2024-03-12T14:17:13-04:00
New Revision: 42ecccfe346daf342b6c46a6a471ba5ed99b1139

URL: https://github.com/llvm/llvm-project/commit/42ecccfe346daf342b6c46a6a471ba5ed99b1139
DIFF: https://github.com/llvm/llvm-project/commit/42ecccfe346daf342b6c46a6a471ba5ed99b1139.diff

LOG: [libcxx] Fix incorrect type in the has-1024-bit-atomics feature test (#84904)

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/features.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index 4fd8798b794a1e..872bff372b3dba 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -176,7 +176,7 @@ def _getAndroidDeviceApi(cfg):
             cfg,
             """
             #include <atomic>
-            struct Large { int storage[1024/8]; };
+            struct Large { char storage[1024/8]; };
             std::atomic<Large> x;
             int main(int, char**) { (void)x.load(); (void)x.is_lock_free(); return 0; }
           """,


        


More information about the libcxx-commits mailing list