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
d: Fix gdc -O2 -mavx generates misaligned vmovdqa instruction [PR114171]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth7.C
blob
33beb911feb5cdd17c806ee8cc899e5cc4e8c8b0
1
// { dg-do run }
2
// Testcase to make sure that synthesized methods are found when needed.
3
4
struct B { ~B() { } };
5
struct A { B b; };
6
7
int main()
8
{
9
A a, b (a), c = A();
10
A& (A::*afp)(const A&) = &A::operator=;
11
(a.*afp) (b);
12
}