1; RUN: llvm-as %s -o /dev/null
2; RUN: opt -mtriple=x86_64-unknown-linux -o /dev/null
3; RUN: not opt -mtriple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s
4
5$v = comdat any
6@v = private global i32 0, comdat($v)
7; CHECK: comdat global value has private linkage
8