repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-rewrite2.C
blob
4f3d12757ffa460e3331b8fa47dfecfe87091a53
1
// Test that C++20 overload changes don't break sloppy code.
2
3
struct C {
4
bool operator==(const C&);
5
bool operator!=(const C&);
6
};
7
8
int main() {
9
C c1, c2;
10
(void)(c1 == c2);
11
(void)(c1 != c2);
12
}