Skip to content

Commit

Permalink
Add regression test for issue 1108
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 22, 2021
1 parent 548d2d9 commit 7fad27f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/regression/issue1108.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#[test]
fn issue1108() {
let data = "impl<x<>>::x for";
let _ = syn::parse_file(data);
}

0 comments on commit 7fad27f

Please sign in to comment.