Skip to content

Commit a257dff

Browse files
committed
Add test for issue-38591
1 parent 5d677b2 commit a257dff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/ui/issues/issue-38591.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// run-pass
2+
3+
struct S<T> {
4+
t : T,
5+
s : Box<S<fn(u : T)>>
6+
}
7+
8+
fn f(x : S<u32>) {}
9+
10+
fn main () {}

0 commit comments

Comments
 (0)