xref: /llvm-project/lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1"""
2Test that backticks without a target should work (not infinite looping).
3"""
4
5
6import lldb
7from lldbsuite.test.decorators import *
8from lldbsuite.test.lldbtest import *
9from lldbsuite.test import lldbutil
10
11
12class BackticksWithNoTargetTestCase(TestBase):
13    @no_debug_info_test
14    def test_backticks_no_target(self):
15        """A simple test of backticks without a target."""
16        self.expect("expression `1+2-3`", substrs=[" = 0"])
17