Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr61019.C
blob: e0d87f42e8e10712983d3a651817effde7d354bc [
file
] [
log
] [
blame
]
// PR c++/61019
// { dg-do compile { target c++11 } }
template
<class>
struct
S
{
static_assert
(((
S
*)
0
)->~
S
(),
""
);
// { dg-error "incomplete type" }
};
S
<int>
b
;