mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-29 09:23:46 +00:00
11 lines
294 B
Rust
11 lines
294 B
Rust
#![no_main]
|
|
use bumpalo::Bump;
|
|
use libfuzzer_sys::fuzz_target;
|
|
use roc_parse::test_helpers::parse_expr_with;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
if let Ok(input) = std::str::from_utf8(data) {
|
|
let arena = Bump::new();
|
|
let _actual = parse_expr_with(&arena, input.trim());
|
|
}
|
|
});
|