brintos

brintos / llvm-project-archived public Read only

0
0
Text · 488 B · 2cf4d5f Raw
18 lines · python
1# coding=utf82 3import lldb4from lldbsuite.test.lldbtest import *5import lldbsuite.test.lldbutil as lldbutil6 7 8class CstringUnicodeTestCase(TestBase):9    NO_DEBUG_INFO_TESTCASE = True10 11    def test_cstring_unicode(self):12        self.build()13        lldbutil.run_to_source_breakpoint(14            self, "// break here", lldb.SBFileSpec("main.cpp", False)15        )16        self.expect_expr("s", result_summary='"🔥"')17        self.expect_expr("(const char*)s", result_summary='"🔥"')18