[lldb][NFC] Add a missing test case to TestCppConstructors.py

This commit is contained in:
Raphael Isemann 2020-02-19 10:24:59 +01:00
parent 2bab1738f3
commit b4608efc0b

View File

@ -11,6 +11,7 @@ class TestCase(TestBase):
self.build()
lldbutil.run_to_source_breakpoint(self,"// break here", lldb.SBFileSpec("main.cpp"))
self.expect_expr("ClassWithImplicitCtor().foo()", result_type="int", result_value="1")
self.expect_expr("ClassWithOneCtor(2).value", result_type="int", result_value="2")
self.expect_expr("ClassWithMultipleCtor(3).value", result_type="int", result_value="3")
self.expect_expr("ClassWithMultipleCtor(3, 1).value", result_type="int", result_value="4")