Add test for issue-38591

This commit is contained in:
Yuki Okushi 2019-06-24 04:36:13 +09:00
parent 5d677b2efd
commit a257dff99c

View File

@ -0,0 +1,10 @@
// run-pass
struct S<T> {
t : T,
s : Box<S<fn(u : T)>>
}
fn f(x : S<u32>) {}
fn main () {}