Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git] / lldb / test / API / types / TestCharTypeExpr.py
blobcc8b27f51b8d804503f8721633e6cbfef7ef987c
1 """
2 Test that variable expressions of type char are evaluated correctly.
3 """
5 import AbstractBase
7 from lldbsuite.test.decorators import *
10 class CharTypeExprTestCase(AbstractBase.GenericTester):
11 def test_char_type(self):
12 """Test that char-type variable expressions are evaluated correctly."""
13 self.build_and_run_expr("char.cpp", ["char"], qd=True)
15 @skipUnlessDarwin
16 def test_char_type_from_block(self):
17 """Test that char-type variables are displayed correctly from a block."""
18 self.build_and_run_expr("char.cpp", ["char"], bc=True, qd=True)
20 def test_unsigned_char_type(self):
21 """Test that 'unsigned_char'-type variable expressions are evaluated correctly."""
22 self.build_and_run_expr("unsigned_char.cpp", ["unsigned", "char"], qd=True)
24 @skipUnlessDarwin
25 def test_unsigned_char_type_from_block(self):
26 """Test that 'unsigned char'-type variables are displayed correctly from a block."""
27 self.build_and_run_expr(
28 "unsigned_char.cpp", ["unsigned", "char"], bc=True, qd=True