mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Test cases for r127309. <rdar://problem/9055247>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92ad5175fa
commit
ee0b7f4e09
2
test/FrontendC/2011-03-02-UnionInitializer.c
Normal file
2
test/FrontendC/2011-03-02-UnionInitializer.c
Normal file
@ -0,0 +1,2 @@
|
||||
// RUN: %llvmgcc -S %s
|
||||
union { int :3; double f; } u17_017 = {17.17};
|
6
test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
Normal file
6
test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
Normal file
@ -0,0 +1,6 @@
|
||||
typedef struct {
|
||||
union {
|
||||
struct { } __attribute((packed));
|
||||
};
|
||||
} fenv_t;
|
||||
const fenv_t _FE_DFL_ENV = {{{ 0, 0, 0, 0 }}};
|
Loading…
x
Reference in New Issue
Block a user