aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/WebAssembly/wasm-invalid-exception-kinds.ll
blob: 27fb696c924995999a701279810e1cd04e098c78 (plain)
1
2
3
4
5
6
7
8
; RUN: not %clang_cc1 -triple wasm32 -exception-model=arst -S %s 2>&1 | FileCheck -check-prefix=INVALID-VALUE %s

; Make sure invalid values are rejected for -exception-model when the
; input is IR.

; INVALID-VALUE: error: invalid value 'arst' in '-exception-model=arst'

target triple = "wasm32"