void*fail11(void*a)__attribute__((alloc_size(1)));//expected-error{{'alloc_size' attribute argument may only refer to a function parameter of integer type}}
void*fail12(inta)__attribute__((alloc_size("abc")));//expected-error{{'alloc_size' attribute requires parameter 1 to be an integer constant}}
void*fail12(inta)__attribute__((alloc_size(1,"abc")));//expected-error{{'alloc_size' attribute requires parameter 2 to be an integer constant}}
void*fail13(inta)__attribute__((alloc_size(1U<<31)));//expected-error{{integer constant expression evaluates to value 2147483648 that cannot be represented in a 32-bit signed integer type}}