mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
10 lines
223 B
LLVM
10 lines
223 B
LLVM
|
; RUN: not llc <%s 2>&1 | FileCheck %s
|
||
|
|
||
|
define i32 @f() jumptable {
|
||
|
ret i32 0
|
||
|
}
|
||
|
|
||
|
; CHECK: Attribute 'jumptable' requires 'unnamed_addr'
|
||
|
; CHECK: i32 ()* @f
|
||
|
; CHECK: LLVM ERROR: Broken function found, compilation aborted!
|