4 #![cfg(cfg_that_surely_doesnt_exist)]
6 fn method(&self) -> bool { false }
10 #![cfg(not(cfg_that_surely_doesnt_exist))]
12 // check that we don't eat attributes too eagerly.
13 #[cfg(cfg_that_surely_doesnt_exist)]
14 fn method(&self) -> bool { false }
16 fn method(&self) -> bool { true }
21 assert!(Foo.method());