1 ; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
14 ; CHECK-NEXT: T global_asm_sym
15 ; CHECK-NEXT: T ifunc_f1
16 ; CHECK-NEXT: t local_asm_sym
17 ; CHECK-NEXT: U undef_asm_sy
19 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
20 target triple = "x86_64-unknown-linux-gnu"
22 module asm ".global global_asm_sym"
23 module asm "global_asm_sym:"
24 module asm "local_asm_sym:"
25 module asm ".long undef_asm_sym"
28 @g2 = internal global i32 42
29 @g3 = common global i32 0
30 @g4 = private global i32 42
32 @a1 = alias i32, i32* @g1
33 @a2 = internal alias i32, i32* @g1
40 @ifunc_f1 = ifunc void (), void ()* @f1
42 define internal void @f2() {
46 define linkonce_odr void @f3() {
52 declare extern_weak void @f5()