aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/macho-comdat.ll
blob: 60560470ed5be38532d75c5669a4cf6276851ad8 (plain)
1
2
3
4
5
6
; RUN: not llc -mtriple x86_64-apple-darwin < %s 2> %t
; RUN: FileCheck < %t %s

$f = comdat any
@v = global i32 0, comdat($f)
; CHECK: LLVM ERROR: MachO doesn't support COMDATs, 'f' cannot be lowered.