@no_wasm_backend('long doubles are f128s in wasm backend')
def test_pystruct(self):

    def test():
        self.do_run_in_out_file_test('tests', 'test_pystruct')
    test()
    print('relocatable')
    assert (self.get_setting('RELOCATABLE') == self.get_setting('EMULATED_FUNCTION_POINTERS') == 0)
    self.set_setting('RELOCATABLE', 1)
    self.set_setting('EMULATED_FUNCTION_POINTERS', 1)
    test()
@no_wasm_backend('long doubles are f128s in wasm backend')
def test_pystruct(self):

    def test():
        self.do_run_in_out_file_test('tests', 'test_pystruct')
    test()
    print('relocatable')
    assert (self.get_setting('RELOCATABLE') == self.get_setting('EMULATED_FUNCTION_POINTERS') == 0)
    self.set_setting('RELOCATABLE', 1)
    self.set_setting('EMULATED_FUNCTION_POINTERS', 1)
    test()