llvm-for-llvmta/test/Verifier/jumptable.ll

9 lines
177 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
define i32 @f() jumptable {
ret i32 0
}
; CHECK: Attribute 'jumptable' requires 'unnamed_addr'
; CHECK: i32 ()* @f