2022-07-17 20:54:10 -05:00
|
|
|
//@ignore-target-windows: File handling is not implemented yet
|
2022-07-05 04:15:22 -05:00
|
|
|
//@error-pattern: `open` not available when isolation is enabled
|
2020-08-10 03:10:08 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _file = std::fs::File::open("file.txt").unwrap();
|
|
|
|
}
|