Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git] / lldb / test / API / types / TestFloatTypesExpr.py
blob9c2ab79e70082cf7a2b08062a995216064da3e5a
1 """
2 Test that variable expressions of floating point types are evaluated correctly.
3 """
6 import AbstractBase
8 import lldb
9 from lldbsuite.test.decorators import *
10 from lldbsuite.test.lldbtest import *
11 from lldbsuite.test import lldbutil
14 class FloatTypesExprTestCase(AbstractBase.GenericTester):
15 # rdar://problem/8493023
16 # test/types failures for Test*TypesExpr.py: element offset computed wrong
17 # and sign error?
19 def test_float_type(self):
20 """Test that float-type variable expressions are evaluated correctly."""
21 self.build_and_run_expr("float.cpp", set(["float"]))
23 @skipUnlessDarwin
24 def test_float_type_from_block(self):
25 """Test that float-type variables are displayed correctly from a block."""
26 self.build_and_run_expr("float.cpp", set(["float"]), bc=True)