1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s 2 3define private protected void @function() { 4; CHECK: symbol with local linkage must have default visibility 5entry: 6 ret void 7} 8