Skip to content

Commit 3023be0

Browse files
committed
Adjust test and mark ignored.
1 parent a341f07 commit 3023be0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-tests/tests/integration_test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12387,14 +12387,17 @@ fn test_cpp_union_pod() {
1238712387
}
1238812388

1238912389
#[test]
12390+
#[ignore] // https://github.com/google/autocxx/issues/1382
1239012391
fn test_override_typedef_fn() {
1239112392
let hdr = indoc! {"
1239212393
#include <map>
12394+
#include <memory>
1239312395
typedef std::shared_ptr<std::map<int, int>> Arg;
12396+
// bindgen currently outputs pub type Arg = u8;
1239412397
class Foo {
1239512398
public:
12396-
void *createFoo(const int);
1239712399
void *createFoo(const int, Arg &arg);
12400+
// void *createFoo(const int, std::shared_ptr<std::map<int, int>> &arg); // works
1239812401
};
1239912402
"};
1240012403
run_test("", hdr, quote! {}, &["Foo"], &[]);

0 commit comments

Comments
 (0)