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

Function main

tests/compile-pass/redefined_value.rs:14–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected