Lines Matching refs:ASSERT_RVALUE
48 #define ASSERT_RVALUE(expr); \ macro
68 ASSERT_RVALUE(ReturnInt()); in basic_lval_5()
69 ASSERT_RVALUE(ReturnVoid()); in basic_lval_5()
70 ASSERT_RVALUE(ReturnEnum()); in basic_lval_5()
97 ASSERT_RVALUE((int)intLvalue); in basic_lval_6()
98 ASSERT_RVALUE((short)intLvalue); in basic_lval_6()
99 ASSERT_RVALUE((long)intLvalue); in basic_lval_6()
102 ASSERT_RVALUE(int(intLvalue)); in basic_lval_6()
103 ASSERT_RVALUE(short(intLvalue)); in basic_lval_6()
104 ASSERT_RVALUE(long(intLvalue)); in basic_lval_6()
107 ASSERT_RVALUE((signed char)charLValue); in basic_lval_6()
108 ASSERT_RVALUE((unsigned char)charLValue); in basic_lval_6()
110 ASSERT_RVALUE(static_cast<int>(IntClass())); in basic_lval_6()
112 ASSERT_RVALUE(static_cast<int>(intClassLValue)); in basic_lval_6()
113 ASSERT_RVALUE(static_cast<IntClass>(ConvertibleToIntClass())); in basic_lval_6()
115 ASSERT_RVALUE(static_cast<IntClass>(convertibleToIntClassLValue)); in basic_lval_6()
120 ASSERT_RVALUE(signed_char(charLValue)); in basic_lval_6()
121 ASSERT_RVALUE(unsigned_char(charLValue)); in basic_lval_6()
123 ASSERT_RVALUE(int(IntClass())); in basic_lval_6()
124 ASSERT_RVALUE(int(intClassLValue)); in basic_lval_6()
125 ASSERT_RVALUE(IntClass(ConvertibleToIntClass())); in basic_lval_6()
126 ASSERT_RVALUE(IntClass(convertibleToIntClassLValue)); in basic_lval_6()
134 ASSERT_RVALUE(0); in conv_ptr_1()
152 ASSERT_RVALUE(1); in expr_prim_2()
153 ASSERT_RVALUE(1.2); in expr_prim_2()
154 ASSERT_RVALUE(10UL); in expr_prim_2()
164 void f() { ASSERT_RVALUE(this); } in expr_prim_3()
332 ASSERT_RVALUE(Class(2,2)); in expr_type_conv_1()
341 ASSERT_RVALUE(int()); in expr_type_conv_2()
342 ASSERT_RVALUE(Class()); in expr_type_conv_2()
343 ASSERT_RVALUE(void()); in expr_type_conv_2()
366 ASSERT_RVALUE(Class().dataMember); in expr_ref_4()
378 ASSERT_RVALUE(Class().Enumerator); in expr_ref_4()
379 ASSERT_RVALUE(lvalue.Enumerator); in expr_ref_4()
388 ASSERT_RVALUE(x++); in expr_post_incr_1()
397 ASSERT_RVALUE(dynamic_cast<Class*>(&instance)); in expr_dynamic_cast_2()
450 ASSERT_RVALUE(static_cast<int>(x)); in expr_static_cast_1()
459 ASSERT_RVALUE(reinterpret_cast<int*>(0)); in expr_reinterpret_cast_1()
494 ASSERT_RVALUE((void(*)())expr_cast_1); in expr_cast_1()
495 ASSERT_RVALUE((int)x); in expr_cast_1()
504 ASSERT_RVALUE(MakeRValue().*(&Class::dataMember)); in expr_mptr_oper()
530 ASSERT_RVALUE(cond ? throw 1 : (void)0); in expr_cond()
531 ASSERT_RVALUE(cond ? (void)0 : throw 1); in expr_cond()
532 ASSERT_RVALUE(cond ? throw 1 : 0); in expr_cond()
533 ASSERT_RVALUE(cond ? 0 : throw 1); in expr_cond()
540 ASSERT_RVALUE(cond ? (void)1 : (void)0); in expr_cond()
541 ASSERT_RVALUE(cond ? throw 1 : throw 0); in expr_cond()
552 ASSERT_RVALUE(cond ? MakeRValue() : classLvalue); in expr_cond()
553 ASSERT_RVALUE(cond ? classLvalue : MakeRValue()); in expr_cond()
554 ASSERT_RVALUE(cond ? MakeRValue() : MakeRValue()); in expr_cond()
555 ASSERT_RVALUE(cond ? classLvalue : intLvalue); in expr_cond()
556 ASSERT_RVALUE(cond ? intLvalue : int()); in expr_cond()
603 ASSERT_RVALUE(f<int>);
610 ASSERT_RVALUE(NonTypeNonReferenceParameter); in check_temp_param_6()