64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
10 lines
214 B
LLVM
10 lines
214 B
LLVM
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
@foo = dso_local ifunc i32 (i32), i64 ()* @foo_ifunc
|
|
; CHECK: error: dso_local is invalid on ifunc
|
|
|
|
define internal i64 @foo_ifunc() {
|
|
entry:
|
|
ret i64 0
|
|
}
|