Searched defs:fail2 (Results 1 – 6 of 6) sorted by relevance
33 void fail2() in fail2() function
68 constexpr int fail2() const { return 1 / 0; } // expected-warning {{division by zero}} \ in fail2() function
165 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}} global() struct
866 move<foo> fail2{static_cast<move<foo>&&>(good1)}; // expected-error {{call to consteval function 'defaulted_special_member_template::move<defaulted_special_member_template::foo func() local
890 constexpr Base &fail2 = (Base&)*pb2; // expected-error {{constant expression}} expected-note {{cannot cast object of dynamic type 'const Derived' to type 'Base'}} global() variable
58 …const auto **fail2(p); // expected-error {{variable 'fail2' with type 'const auto **' has incompat… in f() local