Lines Matching full:static_cast
27 return static_cast<double>(i);
47 (void)static_cast<::c>(&x); // expected-error{{found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}}
50 (void)static_cast<: :c>(&x); //\
51 expected-error {{expected '<' after 'static_cast'}} \
55 (void)static_cast<: // expected-error {{expected '<' after 'static_cast'}} \
62 (void)static_cast LC:c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-note{{}}
64 (void)static_cast<:C c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-note{{}}
68 (void)static_cast LCC c>(&x); // expected-error{{found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}}