[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / expression / vector_of_enums / TestVectorOfEnums.py
blob8580cadac3e2581cf3e7004e89cfbff48e0c47d9
1 """
2 Test Expression Parser regression test to ensure that we handle enums
3 correctly, in this case specifically std::vector of enums.
4 """
7 import lldb
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):
16 self.build()
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", "}"])