@wasm_simd
def test_wasm_intrinsics_simd(self):

    def run():
        self.do_run(open(path_from_root('tests', 'test_wasm_intrinsics_simd.c')).read(), 'Success!')
    self.emcc_args.append('-Wno-c++11-narrowing')
    self.emcc_args.extend(['-Wpedantic', '-Werror', '-Wall', '-xc++'])
    run()
    self.emcc_args.append('-funsigned-char')
    run()
    self.emcc_args.extend(['-munimplemented-simd128', '-xc', '-std=c99'])
    self.build(open(path_from_root('tests', 'test_wasm_intrinsics_simd.c')).read(), self.get_dir(), os.path.join(self.get_dir(), 'src.cpp'))
@wasm_simd
def test_wasm_intrinsics_simd(self):

    def run():
        self.do_run(open(path_from_root('tests', 'test_wasm_intrinsics_simd.c')).read(), 'Success!')
    self.emcc_args.append('-Wno-c++11-narrowing')
    self.emcc_args.extend(['-Wpedantic', '-Werror', '-Wall', '-xc++'])
    run()
    self.emcc_args.append('-funsigned-char')
    run()
    self.emcc_args.extend(['-munimplemented-simd128', '-xc', '-std=c99'])
    self.build(open(path_from_root('tests', 'test_wasm_intrinsics_simd.c')).read(), self.get_dir(), os.path.join(self.get_dir(), 'src.cpp'))