dd73f0413b9f8a870790836b259a7225c6cef2ed
[oota-llvm.git] / private-hidden-function.ll
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 }