@@ -13,6 +13,30 @@ typealias Fn2 = (Int, Float) -> ()
13
13
printType( Fn2 . self )
14
14
// CHECK: found type: (Int, Float) -> ()
15
15
16
+ typealias Fn3 = ( inout Int , Float ) -> ( )
17
+ printType( Fn3 . self )
18
+ // CHECK: found type: (inout Int, Float) -> ()
19
+
20
+ typealias Fn4 = ( inout Int , inout Float ) -> ( )
21
+ printType( Fn4 . self )
22
+ // CHECK: found type: (inout Int, inout Float) -> ()
23
+
24
+ typealias Fn5 = ( Int , inout Float ) -> ( )
25
+ printType( Fn5 . self )
26
+ // CHECK: found type: (Int, inout Float) -> ()
27
+
28
+ typealias Fn6 = ( Int , inout String , Float ) -> ( )
29
+ printType( Fn6 . self )
30
+ // CHECK: found type: (Int, inout String, Float) -> ()
31
+
32
+ typealias Fn7 = ( inout Int , String , inout Float , Double ) -> ( )
33
+ printType( Fn7 . self )
34
+ // CHECK: found type: (inout Int, String, inout Float, Double) -> ()
35
+
36
+ typealias Fn8 = ( String , Int , Double , Float ) -> ( )
37
+ printType( Fn8 . self )
38
+ // CHECK: found type: (String, Int, Double, Float) -> ()
39
+
16
40
typealias Tuple1 = ( Int , Float , Int )
17
41
printType( Tuple1 . self )
18
42
// CHECK: found type: (Int, Float, Int)
0 commit comments