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 44#![ feature( f128) ]
55#![ feature( f16) ]
66
7+ /* Check for direct arguments and return types */
8+
79pub fn f16_arg ( _a : f16 ) {
810 // CHECK-NOT: f16_arg
911 todo ! ( )
@@ -23,3 +25,43 @@ pub fn f128_ret() -> f128 {
2325 // CHECK-NOT: f128_ret
2426 todo ! ( )
2527}
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