clang: Add requires webassembly to a test

Prior to 6ab7e52dd80dc2ece12cc7f1924a71f1a58e2a8a the test got
away with out it because the error was not triggered if the
backend didn't run.
This commit is contained in:
Matt Arsenault 2025-07-03 08:14:44 +09:00 committed by Matt Arsenault
parent 5e31d4cdf2
commit 4e26801ea9

View File

@ -1,3 +1,4 @@
// REQUIRES: webassembly-registered-target
// RUN: %clang_cc1 -triple wasm32-unknown-unknown -fexceptions -fcxx-exceptions -target-feature +reference-types -target-feature +exception-handling -target-feature +multivalue -mllvm -wasm-enable-eh -exception-model=wasm -emit-llvm -o - %s | FileCheck %s
// Check if __builtin_wasm_throw and __builtin_wasm_rethrow are correctly