def testglobal_variable(self):
        m = Module.new("test5.1")
        t = Type.int()
        gv = m.add_global_variable(t, "gv")
        self.assertNotEqual(gv, None)
        self.assertEqual(gv.name, "gv")
        self.assertEqual(gv.type, Type.pointer(t))
Global variables.
dataset/ETHPy150Open jrk/llvm-py/test/test.py/TestModule.testglobal_variable