Add test for #68532
This commit is contained in:
parent
ca722b9358
commit
125f0abb42
|
@ -0,0 +1,13 @@
|
|||
// check-pass
|
||||
|
||||
pub struct A<'a>(&'a ());
|
||||
|
||||
impl<'a> A<'a> {
|
||||
const N: usize = 68;
|
||||
|
||||
pub fn foo(&self) {
|
||||
let _b = [0; Self::N];
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue