xref: /llvm-project-15.0.7/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py (revision d3cbcc4e)
  • 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    @skipIf(compiler="clang", compiler_version=['<', '7.0'])
11    def test_union_members(self):
12        self.build()
13        spec = lldb.SBModuleSpec()
14        spec.SetFileSpec(lldb.SBFileSpec(self.getBuildArtifact("a.out")))
15        module = lldb.SBModule(spec)
16        self.assertTrue(module.IsValid())
17        mytype = module.FindFirstType("foobár")
18        self.assertTrue(mytype.IsValid())
19        self.assertTrue(mytype.IsPointerType())
20

served by {OpenGrok

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