File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 4
4
#![ feature( f128) ]
5
5
#![ feature( f16) ]
6
6
7
+ /* Check for direct arguments and return types */
8
+
7
9
pub fn f16_arg ( _a : f16 ) {
8
10
// CHECK-NOT: f16_arg
9
11
todo ! ( )
@@ -23,3 +25,43 @@ pub fn f128_ret() -> f128 {
23
25
// CHECK-NOT: f128_ret
24
26
todo ! ( )
25
27
}
28
+
29
+ pub fn f16_ref_arg ( _a : & f16 ) {
30
+ // CHECK-NOT: f16_ref_arg
31
+ todo ! ( )
32
+ }
33
+
34
+ pub fn f16_ref_ret ( ) -> & ' static f16 {
35
+ // CHECK-NOT: f16_ref_ret
36
+ todo ! ( )
37
+ }
38
+
39
+ pub fn f128_ref_arg ( _a : & f128 ) {
40
+ // CHECK-NOT: f128_ref_arg
41
+ todo ! ( )
42
+ }
43
+
44
+ pub fn f128_ref_ret ( ) -> & ' static f128 {
45
+ // CHECK-NOT: f128_ref_ret
46
+ todo ! ( )
47
+ }
48
+
49
+ pub fn f16_mut_arg ( _a : & mut f16 ) {
50
+ // CHECK-NOT: f16_mut_arg
51
+ todo ! ( )
52
+ }
53
+
54
+ pub fn f16_mut_ret ( ) -> & ' static mut f16 {
55
+ // CHECK-NOT: f16_mut_ret
56
+ todo ! ( )
57
+ }
58
+
59
+ pub fn f128_mut_arg ( _a : & mut f128 ) {
60
+ // CHECK-NOT: f128_mut_arg
61
+ todo ! ( )
62
+ }
63
+
64
+ pub fn f128_mut_ret ( ) -> & ' static mut f128 {
65
+ // CHECK-NOT: f128_mut_ret
66
+ todo ! ( )
67
+ }
You can’t perform that action at this time.
0 commit comments