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
c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-eq7.C
blob
b1351886176b3e35c869ff3efad4a3d78d60f793
1
// { dg-do compile { target c++20 } }
2
3
union A
4
{
5
int i;
6
bool operator==(const A&) const = default; // { dg-message "union" }
7
};
8
9
A a { 42 };
10
bool b = a == a; // { dg-error "deleted" }