2 Test Expression Parser regression test to ensure that we handle enums
3 correctly, in this case specifically std::vector of enums.
8 from lldbsuite
.test
.decorators
import *
9 from lldbsuite
.test
.lldbtest
import *
10 from lldbsuite
.test
import lldbutil
13 class TestVectorOfEnums(TestBase
):
14 @add_test_categories(["libc++"])
15 def test_vector_of_enums(self
):
18 lldbutil
.run_to_source_breakpoint(
19 self
, "// break here", lldb
.SBFileSpec("main.cpp", False)
22 self
.expect("expr v", substrs
=["size=3", "[0] = a", "[1] = b", "[2] = c", "}"])