rust/tests/compile-fail/fs/isolated_file.rs
2020-10-03 12:00:29 +02:00

7 lines
192 B
Rust

// ignore-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();
}