Skip to content

Commit

Permalink
Add test for generic parameter list solely containing an attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Feb 7, 2019
1 parent b3015ab commit dbc7924
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/ui/attribute-with-no-generics-in-parameter-list.rs
@@ -0,0 +1,5 @@
// run-pass

fn foo<#[attr]>() {} // ok

fn main() {}

0 comments on commit dbc7924

Please sign in to comment.