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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: None (amilendra)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/84904.diff


1 Files Affected:

- (modified) libcxx/utils/libcxx/test/features.py (+1-1) 


``````````diff
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; }
           """,

``````````

</details>


https://github.com/llvm/llvm-project/pull/84904


More information about the libcxx-commits mailing list