// RUN: c-index-test -index-file %s -target i686-pc-linux \
// RUN: | FileCheck %s -check-prefix CHECK -check-prefix CHECK-LINUX
// RUN: c-index-test -index-file -Wno-unsupported-visibility %s -target i386-darwin \
// RUN: | FileCheck %s -check-prefix CHECK -check-prefix CHECK-DARWIN
void ;
// CHECK: <attribute>: attribute(visibility)=default
void ;
// CHECK: <attribute>: attribute(visibility)=hidden
void ;
// CHECK-LINUX: <attribute>: attribute(visibility)=protected
// CHECK-DARWIN: <attribute>: attribute(visibility)=default