]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-method-receiver-ok.rs
Rollup merge of #103342 - Rageking8:add-test-for-issue-98634, r=compiler-errors
[rust.git] / src / test / ui / cfg / cfg-method-receiver-ok.rs
1 // check-pass
2
3 macro_rules! foo {
4     () => {
5         #[allow(unreachable_patterns)]
6         {
7             123i32
8         }
9     };
10 }
11
12 fn main() {
13     let _ = foo!().abs();
14 }