1import lldb 2from lldbsuite.test.decorators import * 3from lldbsuite.test.lldbtest import * 4from lldbsuite.test import lldbutil 5 6 7class TestCase(TestBase): 8 @skipUnlessDarwin 9 @no_debug_info_test 10 def test_keyword(self): 11 # Make sure that C++ keywords work in the expression parser when using 12 # Objective-C++. 13 self.expect( 14 "expr -l objective-c++ -- constexpr int i = 3 + 3; i", substrs=["= 6"] 15 ) 16