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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash50.C
blob
598c029f7b737890a20436d80c5d6f3b4e16f448
1
// { dg-do assemble }
2
// GROUPS passed old-abort
3
class B
4
{
5
public:
6
int i;
7
};
8
int operator & (const B &s) { return ( s.i );}
9
10
11
12
13
14
class C
15
{
16
public:
17
C &operator = (const C &x)
18
{
19
return *this;
20
}
21
};
22
23
C &(C::*DD)(const C &x) = &C::operator=;
24
25
int main()
26
{
27
ⅅ
28
29
}