File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4490,6 +4490,7 @@ fn test_cycle_up_of_vec() {
44904490fn test_typedef_to_std ( ) {
44914491 let hdr = indoc ! { "
44924492 #include <string>
4493+ #include <cstdint>
44934494 typedef std::string my_string;
44944495 inline uint32_t take_str(my_string a) {
44954496 return a.size();
@@ -4523,6 +4524,7 @@ fn test_typedef_to_up_in_fn_call() {
45234524fn test_typedef_in_pod_struct ( ) {
45244525 let hdr = indoc ! { "
45254526 #include <string>
4527+ #include <cstdint>
45264528 typedef uint32_t my_int;
45274529 struct A {
45284530 my_int a;
@@ -4544,6 +4546,7 @@ fn test_typedef_in_pod_struct() {
45444546fn test_cint_in_pod_struct ( ) {
45454547 let hdr = indoc ! { "
45464548 #include <string>
4549+ #include <cstdint>
45474550 struct A {
45484551 int a;
45494552 };
@@ -4613,6 +4616,7 @@ fn test_up_in_struct() {
46134616fn test_typedef_to_std_in_struct ( ) {
46144617 let hdr = indoc ! { "
46154618 #include <string>
4619+ #include <cstdint>
46164620 typedef std::string my_string;
46174621 struct A {
46184622 my_string a;
You can’t perform that action at this time.
0 commit comments