summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-36954.rs
blob: bc444a3817b8850116b604baf127cfe25913201d (plain)
1
2
3
4
5
6
7
#![crate_type = "lib"]

const fn foo(i: i32) -> i32 {
    i
}

pub const FOO: i32 = foo(1);