diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-10-03 07:41:09 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-10-03 07:41:09 +0000 |
| commit | ba7f49a23d834fb42fa42ad0a2e0d8a65743d4c9 (patch) | |
| tree | babede03f25cb8a8177ce086c8d287eae965d93e /llvm/lib/Support/SourceMgr.cpp | |
| parent | 44fe05beeb23850f729b9d8d1c0a82c0ce9c2909 (diff) | |
| download | bcm5719-llvm-ba7f49a23d834fb42fa42ad0a2e0d8a65743d4c9.tar.gz bcm5719-llvm-ba7f49a23d834fb42fa42ad0a2e0d8a65743d4c9.zip | |
MS ABI: Add an additional test for empty structs in C
Empty structs in C differ from those in C++.
- C++ requires that empty types have size 1; alignment requirements may
increase the size of the struct.
- The C implementation doesn't let empty structs have a size under 4
bytes. Again, alignment requirements may increase the struct's size.
Add a test to stress these differences.
llvm-svn: 218963
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions

