aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/fuzz/fuzz_targets/reparse.rs
blob: 16598f5f1105390b94cfc576c71ef6a5d1908bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
//! FIXME: write short doc here

#![no_main]
use libfuzzer_sys::fuzz_target;
use ra_syntax::fuzz::CheckReparse;

fuzz_target!(|data: &[u8]| {
    if let Some(check) = CheckReparse::from_data(data) {
        check.run();
    }
});