// RUN: %clang_cc1 -fsyntax-only -verify %s
// return values
void ; // expected-warning {{'alloc_align' attribute only applies to return values that are pointers}}
void *; // no-warning
int j ; // expected-warning {{'alloc_align' attribute only applies to non-K&R-style functions}}
void *; // expected-error {{'alloc_align' attribute parameter 1 is out of bounds}}
void *; // expected-error {{'alloc_align' attribute parameter 1 is out of bounds}}
void *; // expected-error {{'alloc_align' attribute argument may only refer to a function parameter of integer type}}
// argument type
void *; // expected-error {{'alloc_align' attribute requires parameter 1 to be an integer constant}}
// argument count
void *; // expected-error {{'alloc_align' attribute takes one argument}}
void *; // expected-error {{'alloc_align' attribute takes one argument}}
void *; // expected-error {{'alloc_align' attribute takes one argument}}
void *
void *
void *
void *