1; RUN: not llc -mtriple x86_64-apple-darwin < %s 2> %t
2; RUN: FileCheck < %t %s
3
4$f = comdat any
5@v = global i32 0, comdat($f)
6; CHECK: LLVM ERROR: MachO doesn't support COMDATs, 'f' cannot be lowered.
7