diff options
author | Marek Polacek <polacek@redhat.com> | 2024-07-01 18:12:31 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-07-01 18:13:57 -0400 |
commit | cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7 (patch) | |
tree | ed403dd9cbbe6ffe54ae90856fce6650765cd2b3 /gcc/testsuite/g++.dg | |
parent | c847dcf94499da62e5a28921b404e6e561645d99 (diff) | |
download | gcc-cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7.zip gcc-cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7.tar.gz gcc-cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7.tar.bz2 |
testsuite: fix spaceship-narrowing1.C
I made sure that Wnarrowing22.C works fine on ILP32, but apparently
I didn't verify that spaceship-narrowing1.C works there as well. :(
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/spaceship-narrowing1.C: Use __INT64_TYPE__.
Diffstat (limited to 'gcc/testsuite/g++.dg')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C b/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C index 7769f95..9f2ff3c 100644 --- a/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C +++ b/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C @@ -16,7 +16,7 @@ constexpr strong_ordering strong_ordering::greater = 1; } struct A { - long i : 48; + __INT64_TYPE__ i : 48; auto operator <=> (const A&) const = default; }; |