summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C b/gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C
index 6a03f54b91a..eb199186153 100644
--- a/gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C
+++ b/gcc/testsuite/g++.dg/cpp2a/spaceship-sfinae1.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++2a } }
+// { dg-do compile { target c++20 } }
// missing #include <compare>
template <class T, T x = (T() <=> T()) == 0>