a4804a7c5cf134c98536e078ea1b9fc21e0bcc7a
[oota-llvm.git] / test / CodeGen / X86 / global-sections-comdat.ll
1 ; RUN: llc < %s -mtriple=i386-unknown-linux | FileCheck %s -check-prefix=LINUX
2 ; RUN: llc < %s -mtriple=i386-unknown-linux -data-sections | FileCheck %s -check-prefix=LINUX-SECTIONS
3
4 $G16 = comdat any
5 @G16 = unnamed_addr constant i32 42, comdat
6
7 ; LINUX: .section       .rodata.G16,"aG",@progbits,G16,comdat
8 ; LINUX-SECTIONS: .section      .rodata.G16,"aG",@progbits,G16,comdat