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