llvm-for-llvmta/test/Assembler/invalid-landingpad.ll

8 lines
177 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}