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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted9.C
blob
8d3aef8904111c54776dce4de8578b792ea8fec7
1
// PR c++/39153
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fno-inline" }
4
5
struct _Impl_base
6
{
7
_Impl_base() = default;
8
virtual ~_Impl_base();
9
};
10
11
inline _Impl_base::~_Impl_base() = default;
12
13
template<typename _Tp>
14
class _Impl : public _Impl_base
15
{ };
16
17
int main()
18
{
19
_Impl<int> i;
20
return 0;
21
}