summaryrefslogtreecommitdiff
path: root/tests/headers/contains-vs-inherits-zero-sized.hpp
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-09-23 21:36:14 -0500
committerChristian Poveda <christian.poveda@ferrous-systems.com>2022-10-04 20:47:17 -0500
commit0296f9e86c7756e718b6b82836ce1e09b5f8d08a (patch)
treeb5954c6680b243c0b1671a80ea973ef90877e462 /tests/headers/contains-vs-inherits-zero-sized.hpp
parenta900f8f863d1313ad76603234aaeea22bb9ba7b3 (diff)
split the repo into a workspace
remove `clap` dependency :tada: update the book installation instructions
Diffstat (limited to 'tests/headers/contains-vs-inherits-zero-sized.hpp')
-rw-r--r--tests/headers/contains-vs-inherits-zero-sized.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/headers/contains-vs-inherits-zero-sized.hpp b/tests/headers/contains-vs-inherits-zero-sized.hpp
deleted file mode 100644
index d354b0a2..00000000
--- a/tests/headers/contains-vs-inherits-zero-sized.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * This should get an `_address` byte.
- */
-struct Empty {};
-
-/**
- * This should not get an `_address` byte, so `sizeof(Inherits)` should be
- * `1`.
- */
-struct Inherits : public Empty {
- bool b;
-};
-
-/**
- * This should not get an `_address` byte, but contains `Empty` which *does* get
- * one, so `sizeof(Contains)` should be `1 + 1`.
- */
-struct Contains {
- Empty empty;
- bool b;
-};