xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/macho-comdat.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -mtriple x86_64-apple-darwin < %s 2> %t
2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck < %t %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker$f = comdat any
5*9880d681SAndroid Build Coastguard Worker@v = global i32 0, comdat($f)
6*9880d681SAndroid Build Coastguard Worker; CHECK: LLVM ERROR: MachO doesn't support COMDATs, 'f' cannot be lowered.
7