summaryrefslogtreecommitdiff
path: root/tests/run/embedsignatures.pyx
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-09-07 14:50:55 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-09-07 14:50:55 +0200
commitd4df9dd0aab7c0aeb34e5b691ca600dd9800a4de (patch)
tree8118d6139a6bdaa6886e312d9d0806da60e36716 /tests/run/embedsignatures.pyx
parentc238e5b0d8911b5cc455aaeed6aea89a9b40b2f6 (diff)
downloadcython-d4df9dd0aab7c0aeb34e5b691ca600dd9800a4de.tar.gz
do not try to generated embedded signatures for lambda functions
Diffstat (limited to 'tests/run/embedsignatures.pyx')
-rw-r--r--tests/run/embedsignatures.pyx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run/embedsignatures.pyx b/tests/run/embedsignatures.pyx
index 5702da47e..0bfebfefb 100644
--- a/tests/run/embedsignatures.pyx
+++ b/tests/run/embedsignatures.pyx
@@ -402,3 +402,7 @@ cpdef f_defexpr4(int x = (Ext.CONST1 + FLAG1) * Ext.CONST2):
cpdef f_defexpr5(int x = 2+2):
pass
+
+# no signatures for lambda functions
+lambda_foo = lambda x: 10
+lambda_bar = lambda x: 20