diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs b/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs new file mode 100644 index 000000000..9493da83d --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs | |||
@@ -0,0 +1,4 @@ | |||
1 | type A = fn(); | ||
2 | type B = unsafe fn(); | ||
3 | type C = unsafe extern "C" fn(); | ||
4 | type D = extern "C" fn ( u8 , ... ) -> u8; | ||