comparison test/testzcc.py @ 301:6753763d3bec

merge codegen into ppci package
author Windel Bouwman
date Thu, 05 Dec 2013 17:02:38 +0100
parents 158068af716c
children ff665880a6b0
comparison
equal deleted inserted replaced
300:158068af716c 301:6753763d3bec
32 32
33 def testFunctions(self): 33 def testFunctions(self):
34 self.do(['functions.c3']) 34 self.do(['functions.c3'])
35 35
36 def testSectionAddress(self): 36 def testSectionAddress(self):
37 src = """module tst; 37 src = """module tst;
38 function void t2() {var int t3; t3 = 2;} 38 function void t2() {var int t3; t3 = 2;}
39 """ 39 """
40 f = io.StringIO(src) 40 f = io.StringIO(src)
41 diag = ppci.DiagnosticsManager() 41 diag = ppci.DiagnosticsManager()
42 outs = outstream.TextOutputStream() 42 outs = outstream.TextOutputStream()