Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / cpp / forward-declared-template-specialization / TestCppForwardDeclaredTemplateSpecialization.py
blobf99df6d593127cea9b2de953fe603d082f8fa2d1
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
4 from lldbsuite.test import lldbutil
7 class TestCase(TestBase):
8 def test(self):
9 """
10 Tests a forward declared template and a normal template in the same
11 executable. GCC/Clang emit very limited debug information for forward
12 declared templates that might trip up LLDB.
13 """
14 self.build()
15 lldbutil.run_to_source_breakpoint(
16 self, "// break here", lldb.SBFileSpec("main.cpp")
19 self.expect_expr("a; b", result_type="Temp<float>")