Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:not_int

12 struct not_int {};
15 not_int over(int&&);
18 not_int over2(int&&);
21 operator not_int &&();
36 (void)static_cast<not_int&&>(i1); // expected-error {{types are not compatible}}
39 not_int ni1 = over(0);
41 not_int ni2 = over(ret_irr());
44 not_int ni3 = over2(0);
50 not_int &&ni4 = cnir;
51 not_int &ni5 = cnir; // expected-error{{non-const lvalue reference to type 'not_int' cannot bind to a value of unrelated type 'conv_to_not_int_rvalue'}}
52 not_int &&ni6 = conv_to_not_int_rvalue();