Skip to content

Commit 96253c2

Browse files
committed
Add test for issue-66205
1 parent 7c485cc commit 96253c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// check-pass
2+
3+
#![allow(incomplete_features, dead_code, unconditional_recursion)]
4+
#![feature(const_generics)]
5+
6+
fn fact<const N: usize>() {
7+
fact::<{ N - 1 }>();
8+
}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)