1*0a6a1f1dSLionel Sambuc; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc$f = comdat any 4*0a6a1f1dSLionel Sambuc@v = global i32 0, comdat($f) 5*0a6a1f1dSLionel Sambucdefine void @f() comdat($f) { 6*0a6a1f1dSLionel Sambuc ret void 7*0a6a1f1dSLionel Sambuc} 8*0a6a1f1dSLionel Sambuc; CHECK: .section .text.f,"axG",@progbits,f,comdat 9*0a6a1f1dSLionel Sambuc; CHECK: .globl f 10*0a6a1f1dSLionel Sambuc; CHECK: .section .bss.v,"aGw",@nobits,f,comdat 11*0a6a1f1dSLionel Sambuc; CHECK: .globl v 12