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

8 lines
177 B
LLVM
Raw Normal View History

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