MCPcopy Create free account
hub / github.com/bitflags/bitflags / main

Function main

tests/compile-pass/nested_value.rs:13–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13fn main() {
14 #[cfg(target_os = "linux")]
15 {
16 assert_eq!(1, Flags::FOO.bits());
17 }
18
19 #[cfg(not(target_os = "linux"))]
20 {
21 assert_eq!(2, Flags::FOO.bits());
22 }
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected