blob: bef243a25dd0a9a449eb44c9030156cbbac47b0c [file] [log] [blame]
Dmitry Polukhinb34a81f2016-04-08 06:45:19 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
Dmitry Polukhinba492232016-04-07 12:32:19 +00002
3target triple = "x86_64-unknown-linux-gnu"
4
5@foo = ifunc i32 (i32), i64 ()* @foo_ifunc
Dmitry Polukhinb34a81f2016-04-08 06:45:19 +00006; CHECK: @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
Dmitry Polukhinba492232016-04-07 12:32:19 +00007
8define internal i64 @foo_ifunc() {
9entry:
10 ret i64 0
11}
Dmitry Polukhinb34a81f2016-04-08 06:45:19 +000012; CHECK: define internal i64 @foo_ifunc()