summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/align-2.c
blob: 2001a153bac47dc58f43769ed27a7f1c14b56710 (plain)
1
2
3
4
5
6
/* PR 17962 */
/* { dg-do compile { target vect_natural_alignment } } */
/* { dg-options "" } */

typedef float v4 __attribute__((vector_size(sizeof(float)*4)));
extern char compile_time_assert[__alignof__(v4) == sizeof(float)*4 ? 1 : -1];