xref: /llvm-project/lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py (revision 917b404e2ccdcc31d2d64971ad094b80967a240b)
1import lldb
2from lldbsuite.test.decorators import *
3from lldbsuite.test.lldbtest import *
4from lldbsuite.test import lldbplatform
5from lldbsuite.test import lldbutil
6
7
8class InlineSourceFilesTestCase(TestBase):
9    @skipIf(compiler="gcc")
10    @skipIf(compiler="clang", compiler_version=["<", "18.0"])
11    def test(self):
12        """Test DWARF inline source files."""
13        self.build()
14        lldbutil.run_to_name_breakpoint(self, 'f')
15        self.expect("list f", substrs=["This is inline source code"])
16