Skip to content

Commit 4e26801

Browse files
committed
clang: Add requires webassembly to a test
Prior to 6ab7e52 the test got away with out it because the error was not triggered if the backend didn't run.
1 parent 5e31d4c commit 4e26801

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/CodeGenCXX/builtins-eh-wasm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: webassembly-registered-target
12
// 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
23

34
// Check if __builtin_wasm_throw and __builtin_wasm_rethrow are correctly

0 commit comments

Comments
 (0)