☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
dtor2.C
☽
☼
gcc/testsuite/g++.dg/template/dtor2.C
code
plain
raw
1
struct Foo
2
{
3
template <int i>
4
~Foo() {} // { dg-error "5:destructor .Foo::~Foo\\\(\\\)." }
5
};
6
7
int main()
8
{
9
Foo f;
10
}