aboutsummaryrefslogtreecommitdiff
path: root/clang/test/ASTMerge/cxx-rewritten-binary-operator/Inputs/rbo.cpp
blob: bb928ab3fadb4f846be11a9e51b1d7ffd9cfdc78 (plain)
1
2
3
4
5
6
7
8
#include "std-compare.h"

struct A {
  int a;
  constexpr auto operator<=>(const A&) const = default;
};

bool foo(A x, A y) { return x < y; }