416331ca XL |
1 | // run-pass |
2 | |
0bf4aa26 XL |
3 | #![allow(dead_code)] |
4 | #![allow(unused_imports)] |
85aaf69f SL |
5 | mod bar { |
6 | pub fn foo() -> bool { true } |
7 | } |
223e47cc LB |
8 | |
9 | fn main() { |
85aaf69f SL |
10 | let foo = || false; |
11 | use bar::foo; |
85aaf69f |
12 | assert_eq!(foo(), false); |
223e47cc |
13 | } |