// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
void ;
void ;
void ;
// rdar://problem/10753392
void ; // expected-warning {{target does not support 'protected' visibility; using 'default'}}
; // expected-note {{previous attribute is here}}
;
; // expected-error {{visibility does not match previous declaration}}
;
; // expected-note {{previous attribute is here}}
; // expected-error {{visibility does not match previous declaration}}
void ; // expected-note {{previous attribute is here}}
extern int test7 ; // expected-note {{previous attribute is here}}
extern int test7 ; // expected-error {{visibility does not match previous declaration}}
typedef int bar; // expected-warning {{'visibility' attribute ignored}}
int x ; // expected-error {{'type_visibility' attribute only applies to types and namespaces}}
int PR17105 ; // expected-error {{'visibility' attribute requires a string}}