summaryrefslogtreecommitdiff
path: root/tests/expectations/class_with_inner_struct.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-05-18 11:54:16 +0200
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-05-18 11:54:16 +0200
commite24e134a89479149dd6ed4c20e00bb51306dbe06 (patch)
tree16b19eb849687bf6c970980495a32ca2f7c033d3 /tests/expectations/class_with_inner_struct.rs
parentc769d1b3db1753e2cc9089d09383e18c8ae3416e (diff)
Support in-class constants in C++
Diffstat (limited to 'tests/expectations/class_with_inner_struct.rs')
-rw-r--r--tests/expectations/class_with_inner_struct.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/expectations/class_with_inner_struct.rs b/tests/expectations/class_with_inner_struct.rs
index b8dbf3ac..d045e911 100644
--- a/tests/expectations/class_with_inner_struct.rs
+++ b/tests/expectations/class_with_inner_struct.rs
@@ -6,6 +6,7 @@
#[derive(Copy, Debug)]
+#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
#[inline]