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