☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
ctor2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/ctor2.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: the reference to c in the initializer list doesn't get fixed up.
3
4
struct AP {
5
AP(unsigned char);
6
};
7
8
struct AI : AP {
9
AI(unsigned char);
10
};
11
12
AI::AI(unsigned char c)
13
: AP(c)
14
{
15
&c;
16
}