1 ; RUN: llvm-as < %s -o - | llc -filetype=asm | FileCheck %s
3 target triple = "x86_64-unknown-linux-gnu"
5 define internal i64 @foo_ifunc() {
9 ; CHECK: .type foo_ifunc,@function
10 ; CHECK-NEXT: foo_ifunc:
12 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
13 ; CHECK: .type foo,@function
14 ; CHECK-NEXT: .type foo,@gnu_indirect_function
15 ; CHECK-NEXT: .set foo, foo_ifunc