// RUN: %clang_cc1 -fsyntax-only -verify %s
int ;
int ;
int var1 ; // expected-warning{{'__cold__' attribute only applies to functions}}
int var2 ; // expected-warning{{'__hot__' attribute only applies to functions}}
int ; // expected-error{{'__cold__' and 'hot' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}
int ; // expected-error{{'__hot__' and 'cold' attributes are not compatible}} \
// expected-note{{conflicting attribute is here}}
void ; // expected-note{{conflicting attribute is here}}
void ; // expected-error{{'hot' and 'cold' attributes are not compatible}}
void ; // expected-note{{conflicting attribute is here}}
void ; // expected-error{{'cold' and 'hot' attributes are not compatible}}