summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pragma-pack-4.c
blob: c2ea59e9dacee28a1365fe9fa9ae75610d0eda46 (plain)
1
2
3
4
5
6
7
/* PR c/28286 */
/* { dg-do compile } */


#pragma pack(0.5)         /* { dg-warning "invalid constant" } */
#pragma pack(push,0.5)    /* { dg-warning "invalid constant" } */
#pragma pack(push,x,0.5)  /* { dg-warning "invalid constant" } */