llvm-6502/test/Verifier/comdat.ll

6 lines
158 B
LLVM
Raw Normal View History

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
$v = comdat any
@v = common global i32 0, comdat($v)
; CHECK: 'common' global may not be in a Comdat!