[Lldb-commits] [lldb] b4608ef - [lldb][NFC] Add a missing test case to TestCppConstructors.py

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 19 01:25:18 PST 2020


Author: Raphael Isemann
Date: 2020-02-19T10:24:59+01:00
New Revision: b4608efc0b7d0317030ba13daf4833751c5cba64

URL: https://github.com/llvm/llvm-project/commit/b4608efc0b7d0317030ba13daf4833751c5cba64
DIFF: https://github.com/llvm/llvm-project/commit/b4608efc0b7d0317030ba13daf4833751c5cba64.diff

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

Added: 
    

Modified: 
    lldb/test/API/lang/cpp/constructors/TestCppConstructors.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
index 75784f310dde..b59b1ab9bfaf 100644
--- a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
+++ b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
@@ -11,6 +11,7 @@ def test_constructors(self):
         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")
 


        


More information about the lldb-commits mailing list