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
tree: Don't reuse types if TYPE_USER_ALIGN differ [PR94775]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
effc4.C
blob
2ce79280104679baa90745b5cf57ff04c16385c2
1
// PR c++/84364
2
// { dg-do compile }
3
// { dg-options "-Weffc++" }
4
5
template <typename T>
6
struct A {
7
A &operator=(A<T>& f) {
8
return *this; // { dg-bogus "should return a reference to" }
9
}
10
};