diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast new file mode 100644 index 000000000..a7dfe167c --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast | |||
@@ -0,0 +1,22 @@ | |||
1 | SOURCE_FILE@[0; 30) | ||
2 | FN_DEF@[0; 29) | ||
3 | UNSAFE_KW@[0; 6) "unsafe" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | ABI@[7; 17) | ||
6 | EXTERN_KW@[7; 13) "extern" | ||
7 | WHITESPACE@[13; 14) " " | ||
8 | STRING@[14; 17) "\"C\"" | ||
9 | WHITESPACE@[17; 18) " " | ||
10 | FN_KW@[18; 20) "fn" | ||
11 | WHITESPACE@[20; 21) " " | ||
12 | NAME@[21; 24) | ||
13 | IDENT@[21; 24) "foo" | ||
14 | PARAM_LIST@[24; 26) | ||
15 | L_PAREN@[24; 25) "(" | ||
16 | R_PAREN@[25; 26) ")" | ||
17 | WHITESPACE@[26; 27) " " | ||
18 | BLOCK_EXPR@[27; 29) | ||
19 | BLOCK@[27; 29) | ||
20 | L_CURLY@[27; 28) "{" | ||
21 | R_CURLY@[28; 29) "}" | ||
22 | WHITESPACE@[29; 30) "\n" | ||