<s> from llvm . core import * <EOL> from cStringIO import StringIO <EOL> def make_module ( ) : <EOL> test_module = """<STR_LIT>""" <EOL> return Module . from_assembly ( StringIO ( test_module ) ) <EOL> def test_align ( m ) : <EOL> f = m . get_function_named ( '<STR_LIT>' ) <EOL> f . args [ <NUM_LIT:0> ] . alignment = <NUM_LIT:16> <EOL> assert "<STR_LIT>" in str ( f ) <EOL> assert f . args [ <NUM_LIT:0> ] . alignment == <NUM_LIT:16> <EOL> m = make_module ( ) <EOL> test_align ( m ) </s>
