diff --git a/integration-tests/tests/integration_test.rs b/integration-tests/tests/integration_test.rs index ec2b1e7e2..9bc87fe3c 100644 --- a/integration-tests/tests/integration_test.rs +++ b/integration-tests/tests/integration_test.rs @@ -27,6 +27,21 @@ use quote::quote; use syn::{parse_quote, Token}; use test_log::test; +#[test] +fn test_moveit_with_alloc() { + let cxx = indoc! { + "" + }; + let hdr = indoc! {" + struct DataBuf { + void alloc(); + }; + "}; + let rs = quote! { + }; + run_test(cxx, hdr, rs, &["DataBuf"], &[]); +} + #[test] fn test_return_void() { let cxx = indoc! {"