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