diff options
Diffstat (limited to 'llvm/test/FrontendC/2003-06-22-UnionCrash.c')
| -rw-r--r-- | llvm/test/FrontendC/2003-06-22-UnionCrash.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/FrontendC/2003-06-22-UnionCrash.c b/llvm/test/FrontendC/2003-06-22-UnionCrash.c new file mode 100644 index 00000000000..dab0716ae63 --- /dev/null +++ b/llvm/test/FrontendC/2003-06-22-UnionCrash.c @@ -0,0 +1,13 @@ +// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null + +struct Blend_Map_Entry { + union { + float Colour[5]; + double Point_Slope[2]; + } Vals; +}; + +void test(struct Blend_Map_Entry* Foo) +{ +} + |

