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
/
Wctor-dtor2.C
blob
48137851f05e4a95a613629a844ada8f8b8cb7fd
1
// PR c++/85792
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options -Wctor-dtor-privacy }
4
5
template<typename T> struct A { };
6
7
template<typename T> struct B : A<T> {
8
using A<T>::A;
9
10
B(const B&) { }
11
};