2 /* { dg-do compile } */
5 #define MAX __SIZE_MAX__
14 p
= __builtin_alloca_with_align (n
, SIZE_MAX
); /* { dg-error "39:must be a constant integer" } */
15 p
= __builtin_alloca_with_align (n
, MAX
); /* { dg-error "39:must be a constant integer" } */
16 p
= __builtin_alloca_with_align (n
, MAX2
); /* { dg-error "39:must be a constant integer" } */
17 p
= __builtin_alloca_with_align (n
, FIVE
); /* { dg-error "39:must be a constant integer" } */