(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
spaceship-vec1.C
// { dg-do compile { target c++20 } }

#include <compare>

#define vector __attribute__((vector_size(4*sizeof(int)) ))

int main()
{
  vector int a, b;
  a <=> b;		     // { dg-message "three-way comparison of vector" }
}