llvm-project/llvm/test/Assembler/invalid-landingpad.ll

8 lines
177 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: clause argument must be a constant
define void @test(i32 %in) {
landingpad {} personality void()* null filter i32 %in
}