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