12 lines · python
1import lldb2from lldbsuite.test.decorators import *3from lldbsuite.test.lldbtest import *4from lldbsuite.test import lldbutil5 6 7class TestCase(TestBase):8 @no_debug_info_test9 def test_keyword(self):10 # Make sure that C++ keywords work in the expression parser.11 self.expect("expr -l c++ -- constexpr int i = 3 + 3; i", substrs=["= 6"])12