summaryrefslogtreecommitdiff
path: root/tests/headers/derive-default-and-blocklist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/derive-default-and-blocklist.hpp')
-rw-r--r--tests/headers/derive-default-and-blocklist.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/headers/derive-default-and-blocklist.hpp b/tests/headers/derive-default-and-blocklist.hpp
deleted file mode 100644
index 20d938cc..00000000
--- a/tests/headers/derive-default-and-blocklist.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
-// bindgen-flags: --blocklist-type BlocklistMe --raw-line 'pub struct BlocklistMe(u8);'
-
-// Note that we do not explicitly provide the `--with-derive-default` flag
-// above, since it is added by the test runner implicitly.
-
-struct BlocklistMe {};
-
-/**
- * Because this type contains a blocklisted type, it should not derive
- * Default. Instead, we should emit a `mem::zeroed` implementation.
- */
-struct ShouldNotDeriveDefault {
- BlocklistMe a;
-};