Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/pr50459.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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;