diff options
Diffstat (limited to 'bindings/python/llvm/tests/test_core.py')
-rw-r--r-- | bindings/python/llvm/tests/test_core.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/python/llvm/tests/test_core.py b/bindings/python/llvm/tests/test_core.py index bd792a1033..3fdaf455fd 100644 --- a/bindings/python/llvm/tests/test_core.py +++ b/bindings/python/llvm/tests/test_core.py @@ -1,6 +1,7 @@ from .base import TestBase from ..core import OpCode from ..core import MemoryBuffer +from ..core import PassRegistry class TestCore(TestBase): def test_opcode(self): @@ -25,3 +26,6 @@ class TestCore(TestBase): source = self.get_test_file() m = MemoryBuffer(filename=source) self.assertEqual(len(m), 50) + + def test_create_passregistry(self): + PassRegistry() |