Skip to content

Commit

Permalink
Issue google#1318 - Reproducer test case
Browse files Browse the repository at this point in the history
  • Loading branch information
hfiguiere committed Aug 4, 2023
1 parent fdfb26e commit 6b63315
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {"
Expand Down

0 comments on commit 6b63315

Please sign in to comment.