// RUN: %clang_cc1 -triple aarch64 -fsyntax-only -verify %s
// expected-error@+1 {{'patchable_function_entry' attribute takes at least 1 argument}}
void ;
// expected-error@+1 {{'patchable_function_entry' attribute takes no more than 2 arguments}}
void ;
// expected-error@+1 {{'patchable_function_entry' attribute requires a non-negative integral compile time constant expression}}
void ;
int i;
// expected-error@+1 {{'patchable_function_entry' attribute requires parameter 0 to be an integer constant}}
void ;
// expected-error@+1 {{'patchable_function_entry' attribute requires integer constant between 0 and 2 inclusive}}
void ;