diff --git a/tests/source/fn-simple.rs b/tests/source/fn-simple.rs index b5682d36cfa..b71fdc47875 100644 --- a/tests/source/fn-simple.rs +++ b/tests/source/fn-simple.rs @@ -17,3 +17,5 @@ fn generic(arg: T) -> &SomeType B, C, D, /* pre comment */ E /* last comment */) -> &SomeType { arg(a, b, c, d, e) } + +fn some_func>(val:T){} diff --git a/tests/target/fn-simple.rs b/tests/target/fn-simple.rs index dbb4f82924a..899a73d5157 100644 --- a/tests/target/fn-simple.rs +++ b/tests/target/fn-simple.rs @@ -27,3 +27,6 @@ fn generic(arg: T) -> &SomeType { arg(a, b, c, d, e) } + +fn some_func>(val: T) { +}