summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20060419-1.c
blob: 754774162a28f0fb3bd58f787b6af5a2b9f0a96b (plain)
1
2
3
4
struct T {
  unsigned char f[1] __attribute__((packed)); /* { dg-warning "ignored for field of type.*unsigned char\\\[1\\\]" } */
  unsigned char g[14] __attribute__((packed)); /* { dg-warning "ignored for field of type.*unsigned char\\\[14\\\]" } */
};