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

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