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 4e962d3
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 @@ -11541,6 +11541,21 @@ fn test_issue_1125() {
);
}

#[test]
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 4e962d3

Please sign in to comment.