summaryrefslogtreecommitdiffstats
path: root/tests/rust/const_conflict.rs
blob: 041fecf88e399ae4b973bb80bfdf210a9e75e220 (plain)
1
2
3
4
5
6
7
8
9
#[repr(C)]
struct Foo {}

impl Foo {
    const FOO: i32 = 0;
}

pub const Foo_FOO: u32 = 42;