Skip to content

Commit 3bd7de9

Browse files
committed
add test
1 parent 6dff51f commit 3bd7de9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#![crate_name = "foo"]
2+
#![feature(const_generics_defaults)]
3+
4+
// @has foo/struct.Foo.html '//pre[@class="rust struct"]' \
5+
// 'pub struct Foo<const M: usize = 10_usize, const N: usize = M, T = i32>(_);'
6+
pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);

0 commit comments

Comments
 (0)