Searched refs:convert_to (Results 1 – 2 of 2) sorted by relevance
645 template<typename T> struct convert_to { operator T() const; }; struct653 A a1 = convert_to<A>();654 A a2 = convert_to<A&>();655 A a3 = convert_to<const A>();656 A a4 = convert_to<const volatile A>(); // expected-error {{no viable}}657 A a5 = convert_to<const volatile A&>(); // expected-error {{no viable}}659 B b1 = convert_to<B>();660 B b2 = convert_to<B&>();661 B b3 = convert_to<const B>();662 B b4 = convert_to<const volatile B>(); // expected-error {{no viable}}[all …]
102 define ppc_fp128 @convert_to(i128 %x) {107 ; CHECK: @convert_to121 ; CHECK: @convert_to