1from .base import TestBase
2from ..core import OpCode
3from ..core import MemoryBuffer
4from ..core import PassRegistry
5from ..core import Context
6from ..core import Module
7from ..bit_reader import parse_bitcode
8
9class TestBitReader(TestBase):
10
11    def test_parse_bitcode(self):
12        source = self.get_test_bc()
13        m = parse_bitcode(MemoryBuffer(filename=source))
14        print m.target
15        print m.datalayout
16