From 8e048675c01484e562fdb983e2665e5a828fdc60 Mon Sep 17 00:00:00 2001
From: Cheng Shao <terrorjack@type.dance>
Date: Mon, 4 Dec 2023 07:03:39 +0000
Subject: [PATCH] testsuite: T22774 should work for wasm JSFFI

T22774 works since the wasm backend now supports the JSFFI feature.
---
 testsuite/tests/ffi/should_compile/all.T | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testsuite/tests/ffi/should_compile/all.T b/testsuite/tests/ffi/should_compile/all.T
index d33358dc24b..cd0f66cd48f 100644
--- a/testsuite/tests/ffi/should_compile/all.T
+++ b/testsuite/tests/ffi/should_compile/all.T
@@ -45,7 +45,6 @@ test(
 test('T15531', normal, compile, ['-Wall'])
 test('T22043', normal, compile, [''])
 
-test('T22774', unless(js_arch(), expect_fail), compile, [''])
+test('T22774', unless(js_arch() or arch('wasm32'), expect_fail), compile, [''])
 
 test('T24034', normal, compile, [''])
-
-- 
GitLab