OSDN Git Service

Latest updates from FSF 4.7 branch
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c1x-align-4.c
1 /* Test C1X alignment support.  Test reducing alignment (assumes there
2    are at least some alignment constraints).  */
3 /* { dg-do compile { target int32plus } } */
4 /* { dg-options "-std=c1x -pedantic-errors" } */
5
6 #include <stddef.h>
7
8 _Alignas (_Alignof (char)) max_align_t x; /* { dg-error "reduce alignment" } */