rust/tests/fail/shims/fs/isolated_file.rs
2022-08-17 21:50:23 -04:00

7 lines
201 B
Rust

//@ignore-target-windows: File handling is not implemented yet
//@error-pattern: `open` not available when isolation is enabled
fn main() {
let _file = std::fs::File::open("file.txt").unwrap();
}