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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor6.C
blob
98ac1885a9fe42096db1ba8bdfd1379efe9d3078
1
// { dg-do compile { target c++11 } }
2
3
extern "C" int printf (const char *, ...);
4
template< class T >
5
struct D : T {
6
using T::T;
7
// declares all constructors from class T
8
~D() { printf ("Destroying wrapper\n"); }
9
};
10
11
struct A {
12
A(int);
13
};
14
15
D<A> d(42);