summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/auxiliary/issue-17718-const-privacy.rs
blob: 93cf4bf3ecce345993ec3053cbd0b3dabbd4f673 (plain)
1
2
3
4
5
6
7
8
pub use foo::FOO2;

pub const FOO: usize = 3;
const BAR: usize = 3;

mod foo {
    pub const FOO2: usize = 3;
}