blob: 86e941d6cac14ad01c835d9ab7407fb434cd864a [file] [log] [blame]
; 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
}