Skip to content

Commit 5cc2e91

Browse files
committed
Add type-param test
1 parent 1277daa commit 5cc2e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/type-alias/type-param.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
#![allow(dead_code)]
77

88
type Foo<T> = extern "C" fn(T) -> bool;
9+
type Bar<T> = fn(T) -> bool;
910

1011
fn main() {}

0 commit comments

Comments
 (0)