summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2008-10-30-ZeroPlacement.c
blob: f3806d499d5215c75f020375cb5f558563b564b1 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm %s -o -
// PR2987
struct S2045
{
  unsigned short int a;
  union { } b;
  union __attribute__ ((aligned (4))) { } c[0];
};
struct S2045 s2045;