Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}