Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-err1.C
blob: ce7b56ce57415e699b7eaa289447dcba22366cba [
file
] [
log
] [
blame
]
// Test that we suggest adding #include <compare>.
// { dg-do compile { target c++2a } }
auto
x
=
1
<=>
2
;
// { dg-error "" }
// { dg-message "<compare>" "" { target *-*-* } .-1 }