diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-03-03 03:39:06 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-03-06 19:24:43 +0100 |
commit | 5982cd3dc3a4f356131f6c10939d3890f0c05e22 (patch) | |
tree | cc2470853c7c7d9f8f47d2f669c4e205fd4f17b8 /tests/headers/cpp-empty-layout.hpp | |
parent | 17275f87004044d8702a80467880f568738357c2 (diff) |
codegen: Don't assume unsized structs have address.
Per C semantics, they may not.
Diffstat (limited to 'tests/headers/cpp-empty-layout.hpp')
-rw-r--r-- | tests/headers/cpp-empty-layout.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/headers/cpp-empty-layout.hpp b/tests/headers/cpp-empty-layout.hpp new file mode 100644 index 00000000..1fe02e89 --- /dev/null +++ b/tests/headers/cpp-empty-layout.hpp @@ -0,0 +1 @@ +struct Foo {}; |