summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-68104-print-stack-overflow.rs
blob: ad5710baae2bf21bdefb7866bfd06ee0bd9d49f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// aux-build:impl-const.rs
// run-pass
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]

extern crate impl_const;

use impl_const::*;

pub fn main() {
    let n = Num::<5>;
    n.five();
}