1 /* { dg-do compile } */
6 foo (double *ptr
, int i
)
8 double *a
= __builtin_assume_aligned (ptr
, 16, 8, 7); /* { dg-error "too many arguments to function" } */
9 double *b
= __builtin_assume_aligned (bar (), 16);
10 double *c
= __builtin_assume_aligned (bar (), 16, 8);
11 double *d
= __builtin_assume_aligned (ptr
, i
, ptr
); /* { dg-error "non-integer argument 3 in call to function" } */
12 double *e
= __builtin_assume_aligned (ptr
, i
, *ptr
); /* { dg-error "non-integer argument 3 in call to function" } */