summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2003-06-22-UnionCrash.c
blob: eb5014c37e7d4a7c82674493f7b18559bb432ffd (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

struct Blend_Map_Entry {
  union {
   float Colour[5];
   double Point_Slope[2];
  } Vals;
};

void test(struct Blend_Map_Entry* Foo)
{
}