[c++2a] P0515R3: Support for overloaded operator<=>.

No CodeGen support for MSABI yet, we don't know how to mangle this there.

llvm-svn: 319513
diff --git a/clang/test/Lexer/cxx2a-spaceship.cpp b/clang/test/Lexer/cxx2a-spaceship.cpp
index f407937..604575e 100644
--- a/clang/test/Lexer/cxx2a-spaceship.cpp
+++ b/clang/test/Lexer/cxx2a-spaceship.cpp
@@ -10,7 +10,7 @@
 struct A {};
 void operator<=(A, A);
 #if __cplusplus > 201703L
-void operator<=>(A, A); // expected-error {{}}
+void operator<=>(A, A);
 #ifdef COMPAT
 // expected-warning@-2 {{'<=>' operator is incompatible with C++ standards before C++2a}}
 #endif
@@ -21,7 +21,7 @@
 #if __cplusplus <= 201703L
   // expected-warning@-2 {{'<=>' is a single token in C++2a; add a space to avoid a change in behavior}}
 #else
-  > // expected-error@-4 {{}}
+  >
 #endif
 #ifdef COMPAT
 // expected-warning@-7 {{'<=>' operator is incompatible with C++ standards before C++2a}}