summaryrefslogtreecommitdiff
path: root/tests/compile/excvaldecl.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/excvaldecl.pyx')
-rw-r--r--tests/compile/excvaldecl.pyx8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/compile/excvaldecl.pyx b/tests/compile/excvaldecl.pyx
index 63f3c65dc..06af71ce0 100644
--- a/tests/compile/excvaldecl.pyx
+++ b/tests/compile/excvaldecl.pyx
@@ -18,9 +18,17 @@ cdef int brian() except? 0:
cdef int silly() except -1:
pass
+cdef int not_so_silly() noexcept:
+ pass
+
+cdef int not_so_silly_and_gilless() noexcept nogil:
+ pass
+
spam()
eggs()
grail()
tomato()
brian()
silly()
+not_so_silly()
+not_so_silly_and_gilless()