Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:dynamic_cast

295 constexpr bool dyncast = sptr == dynamic_cast<S*>(sptr); // expected-error {{constant expression}} expected-note {{dynamic_cast}}
299 int a : dynamic_cast<S*>(sptr) == dynamic_cast<S*>(sptr); // \
301 expected-note {{dynamic_cast is not allowed in a constant expression}}