xref: /llvm-project/llvm/test/Verifier/comdat-decl2.ll (revision 46eb0f539c0e12c343c0772085e9bf62cd55763b)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3$v = comdat any
4@v = external global i32, comdat
5; CHECK: Declaration may not be in a Comdat!
6