summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/cast1.C
blob: ee1adcc3d23d1c5587379b47e059fd11b43fd1da (plain)
1
2
3
struct S; // { dg-error "forward" } 

void f(S* p) { ((S) (*p)); } // { dg-error "" }