Skip to content

Commit

Permalink
Add test for google#1141: wchar_t -> uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jjacobson93 committed Aug 1, 2022
1 parent d0bc76e commit 7ee27c4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11541,6 +11541,22 @@ fn test_issue_1125() {
);
}

#[test]
#[ignore] // /~https://github.com/google/autocxx/issues/1141
fn test_wchar_issue_1141() {
let cxx = indoc! {"
wchar_t next_wchar(wchar_t c) {
return c + 1;
}
"};
let hdr = indoc! {"
#include <cstdint>
wchar_t next_wchar(wchar_t c);
"};
let rs = quote! {};
run_test(cxx, hdr, rs, &["next_wchar"], &[]);
}

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

0 comments on commit 7ee27c4

Please sign in to comment.