llvm-for-llvmta/test/Verifier/comdat.ll

6 lines
158 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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!