summaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py
blob: 3e8dc8b1d446e934e1ca74ed85e01d6aa95a6184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil


class TestFunctionTemplateSpecializationTempArgs(TestBase):
    @skipIf(oslist=["windows"], archs=["aarch64"])
    def test_function_template_specialization_temp_args(self):
        self.build()

        (self.target, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(
            self, "// break here", lldb.SBFileSpec("main.cpp", False)
        )

        self.expect_expr("p0", result_type="VType", result_children=[])