clang/test/CodeGen/WebAssembly/wasm-invalid-exception-kinds.ll
raw| 1 | ; RUN: not %clang_cc1 -triple wasm32 -exception-model=arst -S %s 2>&1 | FileCheck -check-prefix=INVALID-VALUE %s |
| 2 | |
| 3 | ; Make sure invalid values are rejected for -exception-model when the |
| 4 | ; input is IR. |
| 5 | |
| 6 | ; INVALID-VALUE: error: invalid value 'arst' in '-exception-model=arst' |
| 7 | |
| 8 | target triple = "wasm32" |