Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr64100.C
blob: 051800cbca0b2ad75edf3995cc3b4e91bc07190d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<typename>
struct
foo
// { dg-message "note" }
{
static_assert
(
noexcept
(((
foo
*)
1
)->~
foo
()),
""
);
// { dg-error "incomplete type" }
};
template
class
foo
<int>
;