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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
ctor2.C
blob
e396dc064f7adee0e38366e729b6807f3b2b40d9
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
}