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
strub: enable conditional support
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr43611.C
blob
6899a6ea400b6014c70c07ed71ec3c37cac49a9f
1
// { dg-do compile }
2
// { dg-options "-fkeep-inline-functions" }
3
4
template < typename >
5
struct A {
6
void init (int);
7
A ()
8
{
9
this->init (0);
10
}
11
};
12
13
template < typename >
14
struct B : A < int > {
15
A < int > a;
16
B () {}
17
};
18
19
extern template struct A < int >;
20
extern template struct B < int >;
21
22
B < int > b;