Skip to content

Commit

Permalink
Add test for #38
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Sep 17, 2024
1 parent 31d8821 commit b0edd52
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/corpus/functions.scm
Original file line number Diff line number Diff line change
Expand Up @@ -676,3 +676,23 @@ unittest {
(named_argument
(expression
(char_literal))))))))))

================================================================================
Function declaration attributes
================================================================================

void foo() pure @property;
--------------------------------------------------------------------------------

(source_file
(function_declaration
(type
(void))
(identifier)
(parameters)
(member_function_attribute
(pure))
(member_function_attribute
(at_attribute
(identifier)))
(function_body)))

0 comments on commit b0edd52

Please sign in to comment.