summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C b/gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C
index 32314579dcb..899a83c80b3 100644
--- a/gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C
+++ b/gcc/testsuite/g++.dg/cpp2a/spaceship-synth1a.C
@@ -1,5 +1,5 @@
// Test with all operators explicitly defaulted.
-// { dg-do run { target c++2a } }
+// { dg-do run { target c++20 } }
#include <compare>