Skip to content

Commit

Permalink
Add test for issue 486
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire Taylor committed May 16, 2021
1 parent 3565496 commit 8678808
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions engine/src/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5324,6 +5324,25 @@ fn test_manual_bridge() {
do_run_test_manual("", hdr, rs, &[], None).unwrap();
}

#[test]
fn test_issue486() {
let hdr = indoc! {"
namespace a {
namespace spanner {
class Key;
}
} // namespace a
namespace spanner {
class Key {
public:
bool b(a::spanner::Key &);
};
} // namespace spanner
"};
let rs = quote! {};
run_test("", hdr, rs, &["spanner::Key"], &[]);
}

// Yet to test:
// - Ifdef
// - Out param pointers
Expand Down

0 comments on commit 8678808

Please sign in to comment.