Skip to content

Commit

Permalink
Missing stdints.
Browse files Browse the repository at this point in the history
  • Loading branch information
adetaylor committed Oct 31, 2023
1 parent 6daf522 commit a0f967e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4490,6 +4490,7 @@ fn test_cycle_up_of_vec() {
fn test_typedef_to_std() {
let hdr = indoc! {"
#include <string>
#include <stdint>
typedef std::string my_string;
inline uint32_t take_str(my_string a) {
return a.size();
Expand Down Expand Up @@ -4523,6 +4524,7 @@ fn test_typedef_to_up_in_fn_call() {
fn test_typedef_in_pod_struct() {
let hdr = indoc! {"
#include <string>
#include <stdint>
typedef uint32_t my_int;
struct A {
my_int a;
Expand All @@ -4544,6 +4546,7 @@ fn test_typedef_in_pod_struct() {
fn test_cint_in_pod_struct() {
let hdr = indoc! {"
#include <string>
#include <stdint>
struct A {
int a;
};
Expand Down Expand Up @@ -4613,6 +4616,7 @@ fn test_up_in_struct() {
fn test_typedef_to_std_in_struct() {
let hdr = indoc! {"
#include <string>
#include <stdint>
typedef std::string my_string;
struct A {
my_string a;
Expand Down

0 comments on commit a0f967e

Please sign in to comment.