repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
ctor1.C
blob
00a6c952b6421be52c29cea9bdc645218200b0ae
1
// PR c++/35734
2
// { dg-options "-W" }
3
4
struct A
5
{
6
A();
7
template<typename T> A(const T&);
8
};
9
10
struct B : A
11
{
12
B(const B&) {} // { dg-warning "base class" }
13
};