Commit 17c34f67 authored by ussrhero's avatar ussrhero

added test for sizeof and shift

parent 2508ed6b
......@@ -226,6 +226,11 @@ TEST(ExprEval, SizeofComplex)
EXPECT_THROW(evalExpr("sizeof(int[10]&)"), DbgException);
}
TEST(ExprEval, SizeofExpr)
{
EXPECT_EQ(sizeof(long int) >> 2, evalExpr("sizeof(long int) >> 2"));
}
TEST(ExprEval, Bool)
{
EXPECT_EQ(true, evalExpr(L"true"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment