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
/
init
/
synth3.C
blob
d656ddb2e05ffb793a509e8b0ad17069378b8367
1
// Test that synthesizing the C copy constructor doesn't require B<int> to
2
// be complete.
3
4
template <class T>
5
struct B
6
{
7
typename T::NT nt;
8
};
9
10
struct A
11
{
12
A ();
13
A (const A&);
14
A (const B<int>&);
15
};
16
17
struct C: A { };
18
19
C c;
20
C c2(c);
21