Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/pr50459.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR c/50459 */ /* { dg-do compile } */ /* { dg-options "-Wall -Wextra" } */ /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ enum { A = 128, B = 1 }; void *fn1 (void) __attribute__((assume_aligned (A))); void *fn2 (void) __attribute__((assume_aligned (A, 4))); void *fn5 (int) __attribute__((alloc_size (B))); void *fn6 (int) __attribute__((alloc_align (B))); void fn7 (const char *, ...) __attribute__ ((sentinel (B))); int __attribute__((vector_size (A))) a; int __attribute__((aligned (A))) foo;