repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gn build] Port 8ebc35f8d041
[llvm-project.git]
/
clang
/
test
/
ASTMerge
/
cxx-rewritten-binary-operator
/
Inputs
/
rbo.cpp
blob
bb928ab3fadb4f846be11a9e51b1d7ffd9cfdc78
1
#include
"std-compare.h"
2
3
struct
A
{
4
int
a
;
5
constexpr auto operator
<=>(
const
A
&)
const
=
default
;
6
};
7
8
bool
foo
(
A x
,
A y
) {
return
x
<
y
; }