diff options
Diffstat (limited to 'test/CodeGen/2003-06-22-UnionCrash.c')
| -rw-r--r-- | test/CodeGen/2003-06-22-UnionCrash.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/2003-06-22-UnionCrash.c b/test/CodeGen/2003-06-22-UnionCrash.c new file mode 100644 index 0000000000000..eb5014c37e7d4 --- /dev/null +++ b/test/CodeGen/2003-06-22-UnionCrash.c @@ -0,0 +1,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) +{ +} + |
