Skip to content

Commit

Permalink
analyze: add test based on lighttpd buffer (#1182)
Browse files Browse the repository at this point in the history
Adds a test case based on lighttpd's `buffer` module. This includes
FileCheck assertions on several of the functions to make sure we're
getting the expected type and expression rewrites.
  • Loading branch information
spernsteiner authored Dec 9, 2024
2 parents bcc772e + 4c13406 commit 5979113
Show file tree
Hide file tree
Showing 2 changed files with 2,873 additions and 0 deletions.
1 change: 1 addition & 0 deletions c2rust-analyze/tests/filecheck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ define_tests! {
insertion_sort_driver,
insertion_sort_rewrites,
known_fn,
lighttpd_buffer,
move_mut,
non_null,
non_null_force,
Expand Down
Loading

0 comments on commit 5979113

Please sign in to comment.