2 /* { dg-do compile } */
3 /* { dg-options "-Wall -Wextra" } */
4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
6 enum { A
= 128, B
= 1 };
7 void *fn1 (void) __attribute__((assume_aligned (A
)));
8 void *fn2 (void) __attribute__((assume_aligned (A
, 4)));
9 void *fn5 (int) __attribute__((alloc_size (B
)));
10 void *fn6 (int) __attribute__((alloc_align (B
)));
11 void fn7 (const char *, ...) __attribute__ ((sentinel (B
)));
12 int __attribute__((vector_size (A
))) a
;
13 int __attribute__((aligned (A
))) foo
;