2 Test that unused inlined parameters are displayed.
6 from lldbsuite
.test
.lldbtest
import *
7 from lldbsuite
.test
import lldbutil
10 class TestUnusedInlinedParameters(TestBase
):
11 def test_unused_inlined_parameters(self
):
13 lldbutil
.run_to_source_breakpoint(
14 self
, "// break here", lldb
.SBFileSpec("main.c")
17 # For the unused parameters, only check the types.
20 lldbutil
.get_description(self
.frame().FindVariable("unused1")),
22 self
.assertEqual(42, self
.frame().FindVariable("used").GetValueAsUnsigned())