================
@@ -87,5 +97,20 @@ def test_arithmetic(self):
 
         # Check references and typedefs
         self.expect_var_path("ref + 1", value="3")
+        self.expect_var_path("ref - 1l", value="1")
         self.expect_var_path("my_ref + 1", value="3")
+        self.expect_var_path("my_ref - 1", value="1")
         self.expect_var_path("ref + my_ref", value="4")
+        self.expect_var_path("ref - my_ref", value="0")
----------------
Michael137 wrote:

Can we add a test for doing `(unsigned)0 - 1` and `UINT_MAX + 1`?

https://github.com/llvm/llvm-project/pull/184017
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to