7eec5be198b00763a01709d0cd725e179d813944
[oota-llvm.git] / test / CodeGen / Generic / function-alias.ll
1 ; RUN: llc < %s | FileCheck %s
2
3 ; "data" constant
4 @0 = private constant <{ i8, i8 }> <{i8 15, i8 11}>, section ".text"
5
6 ; function-typed alias
7 @ud2 = alias void (), bitcast (<{ i8, i8 }>* @0 to void ()*)
8
9 ; Check that "ud2" is emitted as a function symbol.
10 ; CHECK: .type{{.*}}ud2,@function