Skip to content

Commit

Permalink
Add test for issue-38591
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 23, 2019
1 parent 5d677b2 commit a257dff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/ui/issues/issue-38591.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// run-pass

struct S<T> {
t : T,
s : Box<S<fn(u : T)>>
}

fn f(x : S<u32>) {}

fn main () {}

0 comments on commit a257dff

Please sign in to comment.