]> granicus.if.org Git - clang/commitdiff
[WebAssembly] Add REQUIRES to test
authorDavid Zarzycki <dave@znu.io>
Thu, 12 Sep 2019 06:50:33 +0000 (06:50 +0000)
committerDavid Zarzycki <dave@znu.io>
Thu, 12 Sep 2019 06:50:33 +0000 (06:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371710 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/wasm-eh.cpp

index 6005701f234865e78f64a2825054409408ade10f..af60d636ab881d1d15643ad23b291b0a781ca879 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -emit-llvm -o - -std=c++11 | FileCheck %s
 // RUN: %clang_cc1 %s -triple wasm64-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -emit-llvm -o - -std=c++11 | FileCheck %s
 // RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -S -o - -std=c++11 | FileCheck %s --check-prefix=ASSEMBLY
+// REQUIRES: webassembly-registered-target
 
 void may_throw();
 void dont_throw() noexcept;