// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
int i ; // expected-error {{'speculative_load_hardening' attribute only applies to functions}}
void ;
void ; // expected-error {{'speculative_load_hardening' attribute takes no arguments}}
void ;
int ; // expected-error {{'speculative_load_hardening' attribute only applies to functions}}
;
void ; // expected-error {{attributes are not compatible}}
// expected-note@-1 {{conflicting attribute is here}}
void ; // expected-error {{attributes are not compatible}}
// expected-note@-1 {{conflicting attribute is here}}
void ; // expected-note {{conflicting attribute is here}}
void ; // expected-error {{'speculative_load_hardening' and 'no_speculative_load_hardening' attributes are not compatible}}
int ci ; // expected-error {{'speculative_load_hardening' attribute only applies to functions}}
void ;
void ; // expected-error {{'speculative_load_hardening' attribute takes no arguments}}
void ;
int ; // expected-error {{'speculative_load_hardening' attribute only applies to functions}}
;
void ; // expected-error {{attributes are not compatible}}
// expected-note@-1 {{conflicting attribute is here}}
void ; // expected-error {{attributes are not compatible}}
// expected-note@-1 {{conflicting attribute is here}}
void ; // expected-note@-1 {{conflicting attribute is here}}
void ; // expected-error@-1 {{'no_speculative_load_hardening' and 'speculative_load_hardening' attributes are not compatible}} \