summaryrefslogtreecommitdiff
path: root/tests/compile/fused_unused.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/fused_unused.pyx')
-rw-r--r--tests/compile/fused_unused.pyx9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/compile/fused_unused.pyx b/tests/compile/fused_unused.pyx
new file mode 100644
index 000000000..9aac0b7fb
--- /dev/null
+++ b/tests/compile/fused_unused.pyx
@@ -0,0 +1,9 @@
+# mode: compile
+# tag: fused
+
+# This previously lead to a crash due to an empty module body.
+
+ctypedef fused cinteger:
+ int
+ long
+ Py_ssize_t