blob: 4bcec2cd9afde40173edbcb191802f1f73af6ea9 [file] [log] [blame]
// { dg-do assemble }
int main() {
int* d;
dynamic_cast<void*>(d); // { dg-error "3:cannot .dynamic_cast." }
}