Skip to content

Commit

Permalink
Add ellipsis example to test corpus
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansk committed Nov 1, 2024
1 parent 11e8102 commit 7ca5113
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/corpus/cython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -587,3 +587,25 @@ cdef numeric add(numeric a, numeric b)
(maybe_typed_name
(identifier)
(identifier)))))))

================================================================================
Cython ellipsis function
================================================================================

cdef cppclass Test:
int func(...)

--------------------------------------------------------------------------------

(module
(cdef_statement
(cdef_type_declaration
(ctype_declaration
(cppclass
(identifier)
(cvar_def
(maybe_typed_name
(int_type)
(identifier))
(c_function_definition
(c_parameters))))))))

0 comments on commit 7ca5113

Please sign in to comment.