1// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
2// RUN: llvm-nm --print-size %t | FileCheck %s
3
4// CHECK: 0000000000000000 ffffffffffffffff n a
5// CHECK: 0000000000000000 0000000000000000 N b
6// CHECK: 0000000000000004 0000000000000004 C c
7// CHECK: ffffffffffffffff 0000000000000000 a d
8
9        .section foo
10a:
11        .size a, 0xffffffffffffffff
12
13        .global b
14b:
15
16        .comm c,4,8
17
18d = 0xffffffffffffffff
19