☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr64100.C
☽
☼
gcc/testsuite/g++.dg/template/pr64100.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
template<typename> struct foo // { dg-message "note" }
4
{
5
static_assert(noexcept(((foo *)1)->~foo()), ""); // { dg-error "incomplete type" }
6
};
7
8
template class foo<int>;
9