xref: /llvm-project/llvm/test/CodeGen/X86/function-alias.ll (revision 6e83c0a1cbfdb0c0f13c282312c47c7945970f55)
1; RUN: llc < %s | FileCheck %s
2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5; "data" constant
6@0 = private constant <{ i8, i8 }> <{i8 15, i8 11}>, section ".text"
7
8; function-typed alias
9@ud2 = alias void (), ptr @0
10
11; Check that "ud2" is emitted as a function symbol.
12; CHECK: .type{{.*}}ud2,@function
13