aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-landingpad.ll
blob: c8eab4ac6aef9785595a1fe731443173c1a160e4 (plain)
1
2
3
4
5
6
7
; 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
}