summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-9906.rs
blob: 8a3eea790a26ace46469d43c3bc5d30c587eeb09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use other::FooBar;
pub use other::foo;

mod other {
    pub struct FooBar{value: isize}
    impl FooBar{
        pub fn new(val: isize) -> FooBar {
            FooBar{value: val}
        }
    }

    pub fn foo(){
        1+1;
    }
}