blob: 0775a93c91bdb370f6a72a0f772ec4b39927773c [file] [log] [blame]
class Foo; // { dg-error "" }
void
bar(void* p)
{
static_cast<Foo*>(p)->~Foo(); // { dg-error "" }
}