1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3# RUN: ld.lld %t -o %tout --gc-sections -shared
4# RUN: llvm-nm -D %tout | FileCheck %s
5
6# CHECK-NOT: qux
7# CHECK: bar
8# CHECK-NOT: qux
9
10	.global foo,bar,qux
11	.local baz
12
13	.section .data.foo,"aw",%progbits
14foo:
15	.dc.a	bar
16
17	.section .bata.baz,"aw",%progbits
18baz:
19	.dc.a	qux
20