☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
this.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/this.C
code
plain
raw
1
// { dg-do assemble }
2
// PRMS Id: 5190
3
// Bug: g++ fails to build up a const reference to `this'.
4
5
class X
6
{
7
public:
8
void member ();
9
};
10
11
void print (const X* const &);
12
13
void X::member ()
14
{
15
print (this);
16
}