2016-04-08 14:45:19 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
2016-04-07 20:32:19 +08:00
|
|
|
|
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
|
|
|
|
@foo = ifunc i32 (i32), i64 ()* @foo_ifunc
|
2016-04-08 14:45:19 +08:00
|
|
|
; CHECK: @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
|
2016-04-07 20:32:19 +08:00
|
|
|
|
|
|
|
define internal i64 @foo_ifunc() {
|
|
|
|
entry:
|
|
|
|
ret i64 0
|
|
|
|
}
|
2016-04-08 14:45:19 +08:00
|
|
|
; CHECK: define internal i64 @foo_ifunc()
|