summaryrefslogtreecommitdiff
path: root/tests/expectations/union_fields.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/union_fields.rs')
-rw-r--r--tests/expectations/union_fields.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/expectations/union_fields.rs b/tests/expectations/union_fields.rs
index cf750844..974a8f71 100644
--- a/tests/expectations/union_fields.rs
+++ b/tests/expectations/union_fields.rs
@@ -6,6 +6,7 @@
#[derive(Copy, Debug)]
+#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
#[inline]