1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
2
3@var = private protected global i32 0
4; CHECK: symbol with local linkage must have default visibility
5