summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-17718-parse-const.rs
blob: d5a5f445d5bdcbbc848ef2d05dc73eaef30b4af2 (plain)
1
2
3
4
5
6
7
// run-pass

const FOO: usize = 3;

fn main() {
    assert_eq!(FOO, 3);
}