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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
virtual7.C
blob
61f17fe63952ba602c9d2b05aae43e1b70888ba6
1
// Origin: PR c++/47666
2
// { dg-do compile }
3
4
template <typename T>
5
struct A
6
{
7
int a;
8
};
9
10
template <typename T>
11
struct B : public A <T>
12
{
13
};
14
15
class D : public B <D *>
16
{
17
virtual D & operator= (const D &);
18
};
19
20
class E : virtual public D
21
{
22
};
23
24
class F : public E
25
{
26
virtual void foo ();
27
};