// RUN: %clang_cc1 -fsyntax-only -verify -fdouble-square-bracket-attributes %s
int var ;
int var2 ; // expected-error{{'common' and 'internal_linkage' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}
int var3 ; // expected-error{{'internal_linkage' and 'common' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}
int var4 ; // expected-note{{previous declaration is here}} expected-note{{conflicting attribute is here}}
int var4 ; // expected-error{{'internal_linkage' and 'common' attributes are not compatible}} \
// expected-error{{'internal_linkage' attribute does not appear on the first declaration}}
int var5 ; // expected-note{{conflicting attribute is here}}
int var5 ; // expected-error{{'common' and 'internal_linkage' attributes are not compatible}}
int
;
int // expected-error{{'internal_linkage' attribute takes no arguments}}
int var6 ;
int var7 ; // expected-error{{'internal_linkage' and 'common' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}
int var8 ; // expected-error{{'internal_linkage' and 'common' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}