Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted5.C
blob: 96394ea5b12df5ee13cffd1a8507bb86a5fffba8 [
file
] [
log
] [
blame
]
// PR c++/37234
// { dg-do link { target c++11 } }
template
<
typename
T
>
class
foo
{
public
:
foo
()
=
default
;
~
foo
();
};
template
<
typename
T
>
foo
<
T
>::~
foo
()
=
default
;
int
main
()
{
foo
<int>
fi
;
return
0
;
}