Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / cpp / alignas_base_class / TestAlignAsBaseClass.py
blobc7a88987733e17680426484ffd5c94edc449d9f3
1 import lldb
2 from lldbsuite.test.decorators import *
3 from lldbsuite.test.lldbtest import *
4 from lldbsuite.test import lldbutil
7 class TestCase(TestBase):
8 @no_debug_info_test
9 def test(self):
10 self.build()
11 self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
13 # The offset of f2 should be 8 because of `alignas(8)`.
14 self.expect_expr("(intptr_t)&d3g.f2 - (intptr_t)&d3g", result_value="8")