about summary refs log tree commit diff
path: root/src/test/ui/const-generics/issue-68104-print-stack-overflow.rs
blob: eab63d3a6e6ab0563b3d513c5e256966c51bdef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:impl-const.rs
// run-pass
// revisions: full min

#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]
#![cfg_attr(min, feature(min_const_generics))]

extern crate impl_const;

use impl_const::*;

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