blob: b65ba86a4f1a0b26462726ca4378cc150cd8a266 [file] [log] [blame]
Dmitry Polukhin24c4f282016-04-08 06:45:19 +00001; RUN: llvm-as < %s -o - | llc -filetype=asm | FileCheck %s
2
3target triple = "x86_64-unknown-linux-gnu"
4
5define internal i64 @foo_ifunc() {
6entry:
7 ret i64 0
8}
9; CHECK: .type foo_ifunc,@function
10; CHECK-NEXT: foo_ifunc:
11
12@foo = ifunc i32 (i32), i64 ()* @foo_ifunc
13; CHECK: .type foo,@function
14; CHECK-NEXT: .type foo,@gnu_indirect_function
15; CHECK-NEXT: foo = foo_ifunc