diff options
author | Aleksey Kladov <[email protected]> | 2018-02-11 09:51:09 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-11 09:51:09 +0000 |
commit | 8a3f17a4e263781deac5e503ad5116ec78004618 (patch) | |
tree | 0b489b1784c572011dd9e25d6d0ba53e8a50f148 /tests/data/parser/inline/0028_fn_pointer_type.rs | |
parent | 2fb33b2d0d14f09ee06a42bca252dccbf57185e1 (diff) |
G: fn pointer type
Diffstat (limited to 'tests/data/parser/inline/0028_fn_pointer_type.rs')
-rw-r--r-- | tests/data/parser/inline/0028_fn_pointer_type.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0028_fn_pointer_type.rs b/tests/data/parser/inline/0028_fn_pointer_type.rs new file mode 100644 index 000000000..c9bf3bdb4 --- /dev/null +++ b/tests/data/parser/inline/0028_fn_pointer_type.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | type A = fn(); | ||
2 | type B = unsafe fn(); | ||
3 | type C = unsafe extern "C" fn(); | ||