File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
libcxx/test/std/atomics/atomics.ref Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ void test_arithmetic() {
4747
4848template <typename T>
4949void test_pointer () {
50- using X = std::remove_pointer_t <T>;
51- X t[9 ] = {};
50+ using U = std::remove_pointer_t <T>;
51+ U t[9 ] = {};
5252 T p{&t[1 ]};
5353 std::atomic_ref<T> a (p);
5454
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ void test_arithmetic() {
4747
4848template <typename T>
4949void test_pointer () {
50- using X = std::remove_pointer_t <T>;
51- X t[9 ] = {};
50+ using U = std::remove_pointer_t <T>;
51+ U t[9 ] = {};
5252 T p{&t[7 ]};
5353 std::atomic_ref<T> a (p);
5454
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ void test_arithmetic() {
4040
4141template <typename T>
4242void test_pointer () {
43- using X = std::remove_pointer_t <T>;
44- X t[9 ] = {};
43+ using U = std::remove_pointer_t <T>;
44+ U t[9 ] = {};
4545 T p{&t[3 ]};
4646 std::atomic_ref<T> a (p);
4747
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ void test_arithmetic() {
4040
4141template <typename T>
4242void test_pointer () {
43- using X = std::remove_pointer_t <T>;
44- X t[9 ] = {};
43+ using U = std::remove_pointer_t <T>;
44+ U t[9 ] = {};
4545 T p{&t[1 ]};
4646 std::atomic_ref<T> a (p);
4747
You can’t perform that action at this time.
0 commit comments