[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:41:40 PDT 2024
https://github.com/amilendra created https://github.com/llvm/llvm-project/pull/84904
None
>From 3d7b3b112d5a23a2ace49b2e6e04499759712421 Mon Sep 17 00:00:00 2001
From: Amilendra Kodithuwakku <Amilendra.Kodithuwakku at arm.com>
Date: Tue, 12 Mar 2024 12:35:58 +0000
Subject: [PATCH] [libcxx] Fix incorrect type in the has-1024-bit-atomics
feature test
---
libcxx/utils/libcxx/test/features.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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