[python-bindings] Implemented the PassRegistry class and the calls to initialize...
[oota-llvm.git] / bindings / python / llvm / tests / test_core.py
index bd792a103305e8e2771405f89444627e4dfc2ea1..3fdaf455fd405a667a8390ba59ca71fdc0ec44ed 100644 (file)
@@ -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()