]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-3234.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / issue-3234.rs
1 macro_rules! fuzz_target {
2     (|$data:ident: &[u8]| $body:block) => {};
3 }
4
5 fuzz_target!(|data: &[u8]| {
6
7     if let Ok(app_img) = AppImage::parse(data) {
8         if let Ok(app_img) = app_img.sign_for_secureboot(include_str!("../../test-data/signing-key")) {
9             assert!(app_img.is_signed());
10             Gbl::from_app_image(app_img).to_bytes();
11         }
12     }
13
14 });