Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit d5a0eea

Browse files
authored
Merge pull request #335 from Alexendoo/more-58987
Add two more cases from 58987
2 parents a0a1e73 + 2c8052c commit d5a0eea

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ices/58987-4.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pub struct Matrix<T, const R: usize, const C: usize> {
2+
inner: [T; R * C]
3+
}
4+
5+
fn main() {}

ices/58987-5.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(const_generics)]
2+
#![feature(const_compare_raw_pointers)]
3+
4+
fn func<A, const F: fn(inner: A)>(outer: A) {
5+
F(outer);
6+
}
7+
8+
fn main() {}

0 commit comments

Comments
 (0)