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
PR lto/85078
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr85078.C
blob
de512bdfd31cac82e360a73efcedc1bd57e45d86
1
typedef __builtin_va_list a;
2
3
class b
4
{
5
public:
6
virtual void c (int, const char *, a &);
7
char d;
8
void m_fn2 ()
9
{
10
a a;
11
c (2, &d, a);
12
}
13
};
14
15
class e:b
16
{
17
virtual void f ()
18
{
19
}
20
void c (int, const char *, a &);
21
};
22
23
class g
24
{
25
protected:
26
b h;
27
};
28
29
class i:g
30
{
31
int j ();
32
};
33
34
int
35
i::j ()
36
{
37
h.m_fn2 ();
38
return 0;
39
}
40