summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/dyncast4.C
blob: 75e9771b53b9f8bf0ab79177a138010b0da1394b (plain)
1
2
3
4
5
// { dg-do assemble  }
int main() {
  int* d;
  dynamic_cast<void*>(d);	// { dg-error "" } 
}