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