aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/unnamed-comdat.ll
blob: 8aa0f78c974191efb1bc6dfb6eaf3764ef271dd3 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: comdat cannot be unnamed

define void @0() comdat {
  ret void
}