1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
2// RUN: llvm-jitlink -noexec %t
3
4.section	.foo,"axG",@progbits,g1,comdat
5.globl  g1
6g1:
7call test1
8retq
9
10.section	.baz,"axG",@progbits,g1,comdat
11test1:
12retq
13
14.section	.bar,"axG",@progbits,g2,comdat
15.globl  g2
16g2:
17call test2
18retq
19
20.section	.baz,"axG",@progbits,g2,comdat
21test2:
22retq
23
24.text
25.globl  main
26main:
27retq
28