voidg(inta__attribute__((acquire_handle("Fuchsia"))));// expected-error {{attribute only applies to output parameters}}
voidh(int*a__attribute__((acquire_handle)));// expected-error {{'acquire_handle' attribute takes one argument}}
voidh(int*a__attribute__((acquire_handle(1))));// expected-error {{attribute requires a string}}
voidh(int*a__attribute__((acquire_handle("RandomString","AndAnother"))));// expected-error {{'acquire_handle' attribute takes one argument}}
__attribute__((release_handle("Fuchsia")))inti();// expected-warning {{'release_handle' attribute only applies to parameters}}
__attribute__((use_handle("Fuchsia")))intj();// expected-warning {{'use_handle' attribute only applies to parameters}}
inta__attribute__((acquire_handle("Fuchsia")));// expected-warning {{'acquire_handle' attribute only applies to functions, typedefs, and parameters}}
int(*__attribute__((acquire_handle("Fuchsia")))fpt)(char*);// expected-warning {{'acquire_handle' attribute only applies to functions, typedefs, and parameters}}