xref: /llvm-project-15.0.7/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py (revision 4e00a192)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# coding=utf8
2import lldb
3from lldbsuite.test.lldbtest import *
4import lldbsuite.test.lldbutil as lldbutil
5from lldbsuite.test.decorators import *
6
7
8class TestUnicodeSymbols(TestBase):
9
10    mydir = TestBase.compute_mydir(__file__)
11
12    @skipIf(compiler="clang", compiler_version=['<', '7.0'])
13    def test_union_members(self):
14        self.build()
15        spec = lldb.SBModuleSpec()
16        spec.SetFileSpec(lldb.SBFileSpec(self.getBuildArtifact("a.out")))
17        module = lldb.SBModule(spec)
18        self.assertTrue(module.IsValid())
19        mytype = module.FindFirstType("foobár")
20        self.assertTrue(mytype.IsValid())
21        self.assertTrue(mytype.IsPointerType())
22

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026