Test case for #524
authorRobert Bradshaw <robertwb@math.washington.edu>
Fri, 9 Apr 2010 02:44:22 +0000 (19:44 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Fri, 9 Apr 2010 02:44:22 +0000 (19:44 -0700)
tests/errors/cpp_no_constructor.pyx [new file with mode: 0644]

diff --git a/tests/errors/cpp_no_constructor.pyx b/tests/errors/cpp_no_constructor.pyx
new file mode 100644 (file)
index 0000000..de75247
--- /dev/null
@@ -0,0 +1,10 @@
+cdef extern from *:
+    cdef cppclass Foo:
+        Foo()
+        Foo(int)
+
+new Foo(1, 2)
+
+_ERRORS = u"""
+6:7: no suitable method found
+"""