blob: 0701255fff6042aa687707ca4e283eb177feb04b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[flag]
enum FilePerm {
read
write
exec
}
fn main() {
println(FilePerm.read > FilePerm.write)
println(FilePerm.write + FilePerm.exec)
println(FilePerm.write && FilePerm.exec)
}
|