add test
This commit is contained in:
parent
6dff51f37d
commit
3bd7de90df
1 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
#![crate_name = "foo"]
|
||||
#![feature(const_generics_defaults)]
|
||||
|
||||
// @has foo/struct.Foo.html '//pre[@class="rust struct"]' \
|
||||
// 'pub struct Foo<const M: usize = 10_usize, const N: usize = M, T = i32>(_);'
|
||||
pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);
|
Loading…
Add table
Add a link
Reference in a new issue